On Mon, Dec 08, 2008 at 13:37:08 +0200, Dan Pascu wrote:
> Yes it does, but it is not a viable solution to have to constantly run 
> darcs optimize when you have too many files, from fearing that you may 
> exceed them and get an error. Not to mention the slowness a flattened 
> directory with that many files will introduce anyway.

I wonder if it would make sense for a future version of hashed pristine
to store

 _darcs/pristine/long-hash-string
 _darcs/pristine/long-hash-string.dir
 _darcs/pristine/long-hash-string.dir/other-long-hash-string

Ah but then we quickly run afoul of filepath length restrictions...
Hmm then maybe storing the dirs as

 _darcs/pristine/0
 _darcs/pristine/1
 ...
 etc

And storing the dirname in the inventory file for that directory
might make sense

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9

Attachment: signature.asc
Description: Digital signature

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to