summaryrefslogtreecommitdiffstats
path: root/bin/portageq
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-16 20:38:03 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-16 20:38:03 +0000
commit8fa22d41766a0c6b8198e6d3642c6f969e46da9f (patch)
tree6179639c9efc081375f777a4323e43db13fe00b1 /bin/portageq
parent799357a99736027ad85c0978e29b55338c6c5102 (diff)
downloadportage-8fa22d41766a0c6b8198e6d3642c6f969e46da9f.tar.gz
portage-8fa22d41766a0c6b8198e6d3642c6f969e46da9f.tar.bz2
portage-8fa22d41766a0c6b8198e6d3642c6f969e46da9f.zip
In dblink.getcontents(), use a regular expression to detect
when path normalization is required. Also, only join with ${ROOT} when necessary. This allows unnecessary normpath and join calls to be optimized away in the general case, reducing the cpu time for `equery belongs <filename>` by about 50%. M pym/portage/dbapi/vartree.py svn path=/main/trunk/; revision=8151
Diffstat (limited to 'bin/portageq')
0 files changed, 0 insertions, 0 deletions