[PATCH 2 of 5 v5] store: implement fncache basic path encoding in C

Noel Grandin noel at peralex.com
Thu Sep 13 10:19:11 CDT 2012

On 2012-09-13 09:06, Matt Mackall wrote:
> On 09/12/2012 08:36 AM, Noel Grandin wrote:
>>>> Why not just always hash the paths?
> Been there, done that, abandoned circa 0.4. Not going back, kthx.

For others (like me) who might not understand the context, I think Matt 
is talking about this:

"Move hg from storing files in data with base64 encoding to full
pathnames with .i and .d extensions. This means we naturally get good
FS layout, and cp and tar fix things up nicely rather than pessimizing

And I think what he is saying is that the existing fncache co-locates 
files nicely, so when mercurial needs to access multiples files from the 
same folder, they are more likely to be close together on disk.

Disclaimer: http://www.peralex.com/disclaimer.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120913/4c693c05/attachment.html>

More information about the Mercurial-devel mailing list