Package: precalculate _hash_key
authorMarat Radchenko <marat@slonopotamus.org>
Fri, 20 May 2011 04:25:17 +0000 (08:25 +0400)
committerZac Medico <zmedico@gentoo.org>
Thu, 26 May 2011 03:27:49 +0000 (20:27 -0700)
commitc8f48112ca556b872851bb2a5f30695865db0093
tree3f2b3eaa7d1970e0b3e95dce7d89659401fce798
parent04e7e152a1398c4d35d30fe1a4fb285b594dbc81
Package: precalculate _hash_key

This eliminates an expensive getattr call in _get_hash_key(), which
greatly improves depgraph performance on a weak ARM cpu.
pym/_emerge/Package.py