[MERGE] 22% Faster logs by optimizing get_texts

Aaron Bentley aaron.bentley at utoronto.ca
Sun Jun 18 01:10:57 BST 2006


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

John Arbash Meinel wrote:
> Shouldn't the above be 'assert False, "I am broken"
> And you can do:
> import operator
> needed_records.sort(key=operator.item_getter(1))

Okay, I've done both of these.  Do I have a +1?

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

iD8DBQFElJoR0F+nu1YWqI0RAmcDAJ4lJHRSj2IrnVgaKsxyBTXI0vxp9wCgiI2f
u+gABdM9Igm5nON32dJ4eds=
=u4kU
-----END PGP SIGNATURE-----




More information about the bazaar mailing list