The Directory Walker revisited
Dar Scott
dsc at swcp.com
Wed Sep 3 17:56:01 EDT 2003
On Wednesday, September 3, 2003, at 04:19 PM, Dar Scott wrote:
> Maybe something in the script increases the stack frame size.
Yep, the repeat.
This makes sense. One way to implement this is the way it is in
PostScript and Joy. A function is called with some looping parameters,
perhaps a context and a chunk of code.
For a very simple loop (repeat with i = 1 to 1) this drops the max
recursion call depth (for default) to 537 in my tests. Adding a simple
'if' drops it to 487 in my tests.
I expect we would see this in all structures.
Dar Scott
More information about the use-livecode
mailing list