tim at sumeru.stanford.edu
Sun Dec 3 00:00:20 UTC 2000
Eric Arseneau <earseneau at exobox.com> is widely believed to have written:
> There seems to be a slight performance problem with this method:
> Would this not be more efficient ? It looks like the latest release could
> use this same trick.
It's definitely an improvement and probably needs replicating in several
other place where the tacky trick (open a file to see if it exists) is
done. The other way of seeing if a file exists (implemented in the
directory hierarchy) is just as bad; get a list of all the files in a
dir and then pattern match on the entire list.
Time to redo it all... separate the name from the stream, add some more
capable prims, clean it up.
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
System going down at 1:45 for disk crashing.
More information about the Squeak-dev