[darcs-users] hashed repository issue
Trent W. Buck
trentbuck at gmail.com
Tue Dec 9 00:04:59 UTC 2008
Eric Kow <kowey at darcs.net> writes:
> 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 [...] storing the dirs as
>
> _darcs/pristine/0
> _darcs/pristine/1
> ...
> etc
That's what is done for /home on large sites: instead of /home/fred,
you have /home/f/fred or /home/f/r/fred. You use enough depth to avoid
the filesystem hard limit.
More information about the darcs-users
mailing list