Optimize dblink.isowner() to use fewer stat calls by
authorZac Medico <zmedico@gentoo.org>
Wed, 17 Oct 2007 02:58:06 +0000 (02:58 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 17 Oct 2007 02:58:06 +0000 (02:58 -0000)
commit25077a85b6b171fba9ddeadd3730f1e686718bbc
tree55b56c75f1c83bf8a4be9e32cbc9beb1dd8eafb2
parent3ff26c08221711826c402c8a6e274fecc332621c
Optimize dblink.isowner() to use fewer stat calls by
only collecting stat results for parent directories.
This provides equivalent accuracy to the previous
approach but will perform much better when used to
scan all installed packages for owners in the event
of a file collision. (trunk r8153)

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