The Directory Walker revisited

Wouter wouter.abraham at pi.be
Sun Sep 7 20:36:01 EDT 2003


On Sunday, Sep 7, 2003, at 00:24 Europe/Brussels, 
use-revolution-request at lists.runrev.com wrote:

> Message: 5
> Date: Sat, 6 Sep 2003 11:34:58 -0700
> Subject: Re: The Directory Walker revisited
> From: Geoff Canyon <gcanyon at inspiredlogic.com>
> To: use-revolution at lists.runrev.com
> Reply-To: use-revolution at lists.runrev.com

snip

> So RR has been called seven times: once for each directory in the list.
> But the deepest level of recursion reached was three levels: the
> deepest nesting of directories in the tree.
>
> regards,
>
> Geoff Canyon
> gcanyon at inspiredlogic.com
>

Thank you very much for answering for I see my confusion now.
But the excellent recursive function from David Vaughn has encountered
an other limit. It crashes Metacard/Revolution at about 20303 to 20335 
iterations
on my computer (tested on the complete Mac OS X volume which seems to
have > 100000 folders, didn't go further by lack of time). Makes you 
think about
what is more preferable, though this is an extreme condition.
But it's probably something for the Metacard-engine coders to solve.

Greetings,
WA




More information about the use-livecode mailing list