In config.setcpv() and regenerate(), replace str.startswith() calls with
authorZac Medico <zmedico@gentoo.org>
Mon, 14 Apr 2008 21:56:16 +0000 (21:56 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 14 Apr 2008 21:56:16 +0000 (21:56 -0000)
commit503e475d456bec71472fcfc42fc82541f8b4feec
treeed9c15db720a9df9c672552f05a4f55fdc19e021
parent29418012a5af7d651a287c9df75565499b07a076
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
pym/portage.py