diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-04-14 21:56:16 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-04-14 21:56:16 +0000 |
commit | 503e475d456bec71472fcfc42fc82541f8b4feec (patch) | |
tree | ed9c15db720a9df9c672552f05a4f55fdc19e021 /bin/dohtml | |
parent | 29418012a5af7d651a287c9df75565499b07a076 (diff) | |
download | portage-503e475d456bec71472fcfc42fc82541f8b4feec.tar.gz portage-503e475d456bec71472fcfc42fc82541f8b4feec.tar.bz2 portage-503e475d456bec71472fcfc42fc82541f8b4feec.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. (trunk r9896)
svn path=/main/branches/2.1.2/; revision=9897
Diffstat (limited to 'bin/dohtml')
0 files changed, 0 insertions, 0 deletions