j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
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
Attachments:
squeak-dev@lists.squeakfoundation.org