Deep Space (was: The Directory Walker revisited)

Wouter wouter.abraham at pi.be
Mon Sep 8 12:57:04 EDT 2003


On Monday, Sep 8, 2003, at 15:18 Europe/Brussels, 
use-revolution-request at lists.runrev.com wrote:

> Message: 6
> Date: Mon, 08 Sep 2003 20:36:02 +1000
> From: David Vaughan <dvk at dvkconsult.com.au>
> Subject: Re: Deep Space (was: The Directory Walker revisited)
> To: use-revolution at lists.runrev.com
> Reply-To: use-revolution at lists.runrev.com
>
>

snip


>
> Hmm. I have now encountered the same problem. As I wrote before, I had
> no difficulty with 100,000 files and directories 17 deep, but the same
> folders examined from their parent (the volume name) lead to a far
> higher depth count (should have been only 18) and did not finish after
> 30 minutes. There was no crash, per se, just endless processing. The
> amount of work being done makes this a bad one to try to trace.
>
> I am wondering if this is a problem arising from the amount of data
> (roughly estimated at 10MB considering a full path for every file)
> being returned on the stack as the function nears the top.
>
> The alternative might be some trigger into circularity, which is what
> happened with permissions.

Indeed :^).
There is an endless loop because of etc - aliases in folder:
//etc/X11/xkb/compiled/
Because it is your code you have the honor :^)

>
> Perhaps it is OSX-specific. Is the same issue encountered on Windows or
> Linux please?
>
> Seems worth some work given the code should work for virtually any
> situation.
>
> regards
> David (Vaughan)



Greetings,
WA




More information about the use-livecode mailing list