[ENH][GOODIE] UnixFileDirectoryPlugin (version 1.1)
David T. Lewis
lewis at mail.msen.com
Sat Jan 19 16:05:19 UTC 2002
UnixFileDirectoryPlugin, take 2.
This version adds primitives for primStat stuff, per suggestions from
Tim and Lex. It also has the FileDirectory>>entries stuff I posted last
time (but rewritten a bit in places).
The new method which is roughly equivalent (but not the same as)
FileDirectory>>isAFileNamed runs about 1,400 times faster (!) than
the one in the image. The FileDirectory>>entries replacement seems
to be about 15 times faster. Actual performance improvements
when integrated into the FileDirectory and FileStream classes will
certainly be less, YMMV, etc, etc.
I have not attempted to integrate the file stat testing into the
FileDirectory and FileStream classes. If anyone does it, please post.
This is a quick hack, so be kind if I screwed things up.
- Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UnixFiledirectoryV1-1-dtl.cs.gz
Type: application/x-gunzip
Size: 5970 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020119/3bd1186e/UnixFiledirectoryV1-1-dtl.cs.bin
More information about the Squeak-dev
mailing list
|