diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-02-21 08:04:33 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-02-21 08:04:33 +0000 |
commit | 2ab5757ff9d9771ffd5f57fcfcd73c79c73ea19c (patch) | |
tree | 5e21cbceaf6fef5416e4e4d296b975bebb375a27 /cnf | |
parent | 49e5835bb591c28647762b7f362f9af0737b5fff (diff) | |
download | portage-2ab5757ff9d9771ffd5f57fcfcd73c79c73ea19c.tar.gz portage-2ab5757ff9d9771ffd5f57fcfcd73c79c73ea19c.tar.bz2 portage-2ab5757ff9d9771ffd5f57fcfcd73c79c73ea19c.zip |
Optimize dblink.isowner() to use fewer stat calls by doing a basename
comparison to try and eliminate the file before resorting to inode
comparison. This speeds up the `portageq owners` command as well as
the search that is done when collision-protect finds a collision.
svn path=/main/trunk/; revision=9363
Diffstat (limited to 'cnf')
0 files changed, 0 insertions, 0 deletions