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

Andrew Bennetts andrew at canonical.com
Tue Dec 4 23:40:42 GMT 2007


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.

-Andrew.




More information about the bazaar mailing list