Possibly changing the path encoding format

Noel Grandin noel at peralex.com
Fri Sep 21 02:39:39 CDT 2012


On 2012-09-21 01:41, Bryan O'Sullivan wrote:
> On Wed, Sep 12, 2012 at 1:11 PM, Bryan O'Sullivan <bos at serpentine.com 
> <mailto:bos at serpentine.com>> wrote:
>
>     I'd be happy to do the work to implement this, but this is one of
>     those rare cases where it's less work to describe the desired
>     behaviour in English than in code.
>
>
> I finally had time to write up a slightly modified version of this 
> proposal:
>
> http://mercurial.selenic.com/wiki/fncache2RepoFormat
>
> I'll probably write a Python implementation tomorrow and see how it fares.


Since this isn't a crypto application, you're probably better off with a 
cheaper hash function like murmur hash, for which there is both C and 
Python code:
http://code.google.com/p/pyfasthash/
http://pypi.python.org/pypi/Murmur/0.1.2


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


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


More information about the Mercurial-devel mailing list