> Oohh!! I figure out the slowness problem. It turns out that (dir
> fileExists: somename) can be very slow if there are over 3000 files
> involved.
That's because if uses the incredibly inefficient method of listing all
the files in the directory and then trying to match for the desired
filename. FileStream>isAFileNamed: uses the equally bizarre method of
trying to open the file.
I suspect we could do better since just about all OSs can check for a
particular filename existing.
tim
--
Tim Rowledge, [EMAIL PROTECTED], http://sumeru.stanford.edu/tim
"Bother," said Pooh, as Eeyore shot him with a rocket-launcher.