[ENH][GOODIE] UnixFileDirectoryPlugin
David T. Lewis
lewis at mail.msen.com
Wed Jan 16 00:40:25 UTC 2002
On Tue, Jan 15, 2002 at 01:58:58PM -0500, Noel J. Bergman wrote:
> > > Is there any way to speed up the checking for a particular file?
> > Try this on the class side of the plugin ...
>
> Why are you scanning (primNextEntry) the directory for the file, rather than
> asking the file system if the file exists?
Because I was in a hurry and had not had my second cup of coffee before
heading out the door. I guess I should stick to Sunday Squeaking.
- Dave
(thanks also to Lex and Tim for your comments)
More information about the Squeak-dev
mailing list
|