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

Aaron Bentley aaron.bentley at utoronto.ca
Wed Dec 5 15:32:21 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Arbash Meinel wrote:

> So anyway, I have an updated patch, but it is certainly less critical now. It
> will allow arbitrary objects, but the performance is pretty equal. (I do wonder
> if PyObject_Hash isn't the right way to go though. As there will be times when
> the hash can already be computed, or help in future comparisons.)

If you want to benchmark an actual command, annotate is probably your
best bet.  "diff" only spends a small fraction of its time doing text
comparisons.


Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHVsSF0F+nu1YWqI0RAsk/AJ4kJDs9uZ58kE8Ztqkw4l02fqG4bwCfQstU
ESgJtAGkNwhNGMZOZJcP3y0=
=eDdd
-----END PGP SIGNATURE-----



More information about the bazaar mailing list