Speed of get line from field vs. get line from global

Jeanne A. E. DeVoto jeanne at runrev.com
Sun Apr 20 03:20:01 CDT 2003


At 9:01 PM -0700 4/18/03, Jim Witte wrote:
>   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.

Variables are still faster.

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - Software at the Speed of Thought
http://www.runrev.com/





More information about the use-livecode mailing list