Speed of get line from field vs. get line from global
Sjoerd Op 't Land
sjoerdoptland at s2theatertechniek.nl
Sat Apr 19 06:13:00 CDT 2003
Jim Witte wrote/ schreef:
> Is it quicker to pull a line out of a field, or pull it out of a
> global variable (whose contents are equal to the field)? On one hand,
> there is possibly an extra layer of indirection, but on the other hand,
> Rev loads entire stacks into memory, so a field might just be just like
> a variable to the engine.
Well, no. A field is much slower to access, especially during a write. You
are right, though, on the indirection, so that is a design question that you
have to answer.
Regards, / Groeten,
More information about the use-livecode