[ANN] DirectoryPlugin on SqueakMap

David T. Lewis lewis at mail.msen.com
Mon Aug 4 12:47:55 UTC 2003


DirectoryPlugin runs on Unix and Windows, and provides a noticable improvement
in many directory and file access methods. If you use CommandShell on Unix
(Linux), you should see an overall 15X improvement based on timing the CommandShell
SUnit tests with and without DirectoryPlugin.

DirectoryPlugin provides access to file stat calls, which give a significant
improvement to methods such as FileDirectory>>isAFileNamed, FileDirectory>>fileExists,
UnixFileDirectory>>entryAt:, and similar methods.

DirectoryPlugin also provides a significant improvement in directory access speed
on platforms with Posix style directory streams. It provides primitives for access
to opendir(), readdir() and related calls, as well as stat() calls on named files.
On Unix systems, this enables performance improvements for methods such
asFileDirectory>>entries and FileDirectory>>fileAndDirectoryNames. The primitives
also run on Windows, but do not improve performance there (at least not on my
WinME system, NT based flavors may be different).

Home page: <http://minnow.cc.gatech.edu/squeak/2274>

Dave



More information about the Squeak-dev mailing list