Danek Duvall wrote:
> On Mon, Jul 21, 2008 at 10:28:06AM -0500, Shawn Walker wrote:
> 
>> Long-term I have to believe that a small, lightweight database is going 
>> to be better than a directory with thousands of empty files.
> 
> If we have to stat all those files, then yes, a single file would probably
> be best.  But right now, the only file we have to open is the directory
> itself.  Remember that the filesystem itself is a database, and, for a lot
> of operations, quite an efficient one, at that.

I was thinking more of walking the directory structure instead of 
stating the files, but if we don't have to do that either...

-- 
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to