[MERGE][1.0] update C PatienceDiff to allow for non-strings

Michael Hudson michael.hudson at canonical.com
Wed Dec 5 09:15:26 GMT 2007


Andrew Bennetts wrote:
> John Arbash Meinel wrote:
> [...]
>> I don't know if the strings have already cached their hashes, or just if the
>> python hash function is just that much faster to compute. I'm wondering if it
>> computes it by long, rather than by character...
> 
> I believe string objects in Python cache their hash value.

I know they do :)

Cheers,
mwh



More information about the bazaar mailing list