Scripting the user interface jira
gabespin at geekmafia.net
Sun Jul 22 19:25:23 PDT 2007
On Jul 22, 2007, at 5:06 PM, Mark Meijer wrote:
> The entire list system in LSL is cumbersome, imho. Aside from being a
> memory hog (entire lists are copied in memory whenever you pass them
> as a parameter or do any operations on it), [snip]
This is not unique to lists. All types in LSL are passed by value.
It's my (possibly incorrect) understanding that the underlying
bytecode does allow for passing by reference, but that the compiler
doesn't do it, which I'm sure seemed like a good idea at the time.
More information about the secondlifescripters