diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-03-28 09:32:04 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-03-28 09:32:04 +0000 |
commit | d2d8255c09ea64b7f1a1640c400fdcc531f3f435 (patch) | |
tree | d2d83339ac1729e570567e341d83349c0cdc6a03 /bin | |
parent | f2b5184ea4b8231e7bec393326a8027e5e024c54 (diff) | |
download | portage-d2d8255c09ea64b7f1a1640c400fdcc531f3f435.tar.gz portage-d2d8255c09ea64b7f1a1640c400fdcc531f3f435.tar.bz2 portage-d2d8255c09ea64b7f1a1640c400fdcc531f3f435.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.
(trunk r9363)
svn path=/main/branches/2.1.2/; revision=9534
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions