Solving long paths by hashing
Dirkjan Ochtman
dirkjan at ochtman.nl
Sun Jun 29 07:38:37 CDT 2008
Adrian Buehlmann wrote:
> Writing to a single longnames file needs write locking.
Yeah, so? You won't be writing to it that often. Only if a new file
added whose name is too long to be encoded normally.
> Plus it's inefficient and scales badly.
I don't think so. But feel free to actually argue this...
> Needing to update the longnames file requires complex code and more
> memory (caching).
You don't need to update it that often.
> You have to read the whole longnames file before you can start
> streamcloning.
It shouldn't become very large, since most files won't need it.
Cheers,
Dirkjan
More information about the Mercurial-devel
mailing list