In dblink.getcontents(), use a regular expression to detect
authorZac Medico <zmedico@gentoo.org>
Wed, 17 Oct 2007 02:51:48 +0000 (02:51 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 17 Oct 2007 02:51:48 +0000 (02:51 -0000)
commit29a66a7a677f39a5929b643585b9ba6ee3b05c04
tree08749ea5bdc4ae1425f55d1b360954ed3452e6d1
parente20d7e50dc36beb95e4ea1d25a636e25be348557
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%. (trunk r8150:8152)

svn path=/main/branches/2.1.2/; revision=8156
pym/portage.py