When does a Stack Actually Die in the IDE???
J. Landman Gay
jacque at hyperactivesw.com
Fri Apr 14 21:33:01 EDT 2006
Mark Smith wrote:
> I just had a doh! moment in response to your <the short name of
> pStackLongID>, but then in order to see how much faster the engine does
> this, I tested it the same way I tested my first tries (which was
> actually with 10000 iterations, not 1000), and
>
> function stackIsOpen pLongID
> return (the short name of pLongID is among the lines of the
openstacks)
> end stackIsOpen
>
> takes nearly 600 ms!
Interesting. I never time these things enough. It looks like if a script
needs to make repeated calls to the function, then your way would be
preferable because of the speed increase.
It's been an interesting experiment, I like when the list does these things.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list