On Fri, Jun 01, 2012 at 11:01:29PM +0200, Igor Stasenko wrote: > On 1 June 2012 22:47, Chris Cunningham <[email protected]> wrote: > > On Fri, Jun 1, 2012 at 12:17 PM, Camillo Bruni <[email protected]> > > wrote: > >> For those complaining lately about the new FS being a bit slow ;) > >> Igor and I hacked together a test version for accessing files using > >> NativeBoost. > >> > >> From our stupid example (listing /usr/bin with ~1k Files) we were > >> incredible 40 times! faster > >> than the file primitives in the current image (5ms instead of 200ms). > >> > >> With the current FS infrastructure such a migration can be done absolutely > >> painless by > >> simply replacing one back-end a time. > >> > >> best > >> cami > > > > Can you share this work? ??I've been interested in this particular use > > for NB for a while now, but haven't gotten around to trying it (or, > > unfortunately, NB itself) yet. ??This would probably push me into a > > user role - and is definitely something I'd like to see. > > > > hehe.. there's almost nothing to show about.. > we're just making calls to two C functions: > opendir() > and > readdir() > from standard C library.
That will definitely make a huge performance improvement. Here is something similar (probably bit rotted but maybe still of interest): http://wiki.squeak.org/squeak/2274 > > a very basic stuff, which you would do if your programming language is C :) > > anyways, see attached. > > If you on mac, it shall work.. try something like: > > (UnixDir on: '/usr/bin') entries > > > > -Chris > > -- > Best regards, > Igor Stasenko.
