In config.setcpv() and regenerate(), replace str.startswith() calls with
authorZac Medico <zmedico@gentoo.org>
Mon, 14 Apr 2008 21:13:20 +0000 (21:13 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 14 Apr 2008 21:13:20 +0000 (21:13 -0000)
commit6507674957bd65faff14a25bcfcd117f9a9f4501
tree448efb3746ea0659b38510822bbc8d724ee474f9
parent1a08212fbc0ce06f96cbc3bca839bcda9dba546a
In config.setcpv() and regenerate(), replace str.startswith() calls with
slice comparison. It's not pretty but performance is critical in this section
of code and there is a measurable performance difference.

svn path=/main/trunk/; revision=9896
pym/portage/__init__.py