diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-04-14 21:13:20 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-04-14 21:13:20 +0000 |
commit | 6507674957bd65faff14a25bcfcd117f9a9f4501 (patch) | |
tree | 448efb3746ea0659b38510822bbc8d724ee474f9 /pym/portage_exec.py | |
parent | 1a08212fbc0ce06f96cbc3bca839bcda9dba546a (diff) | |
download | portage-6507674957bd65faff14a25bcfcd117f9a9f4501.tar.gz portage-6507674957bd65faff14a25bcfcd117f9a9f4501.tar.bz2 portage-6507674957bd65faff14a25bcfcd117f9a9f4501.zip |
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
Diffstat (limited to 'pym/portage_exec.py')
0 files changed, 0 insertions, 0 deletions