Re: recursion testing (was: Finder - Delete empty folders, recursively)
Re: recursion testing (was: Finder - Delete empty folders, recursively)
- Subject: Re: recursion testing (was: Finder - Delete empty folders, recursively)
- From: "John W. Baxter" <email@hidden>
- Date: Thu, 17 Jun 2004 00:51:48 -0700
On 6/16/2004 7:24, "Jon Pugh" <email@hidden> wrote:
>
At 9:20 AM +0100 6/16/04, Nigel Garvey wrote:
>
> I presume this stack holds the return addresses for the handler calls and
>
> the pointers for any local variables. Anything else?
>
>
I think that's about it, but I don't really know the particulars.
It's possible that the bigger the local variables' content, or at least the
bigger the generated response's content the small the number of recursions
which are possible. The test we've been seeing doesn't "do" much.
It would be nice if AppleScript were modified to optimize away tail
recursion...the technique has been known for a few decades.
--John
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.