diff options
author | Dan McGee <dan@archlinux.org> | 2010-12-21 22:40:04 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-22 00:25:34 +0100 |
commit | 735a197fc29b6b85a64cae5a6fa95e1209552c3b (patch) | |
tree | ffc24707b052f62ac671a75e3228dc81cf60ec59 /scripts | |
parent | 34a78d935ac44fc73becc8bba213cdf0268bb5e0 (diff) | |
download | pacman-735a197fc29b6b85a64cae5a6fa95e1209552c3b.tar.gz pacman-735a197fc29b6b85a64cae5a6fa95e1209552c3b.tar.xz |
Use name hashes in depends to avoid strcmp calls
Just like we did for package name comparsions, if we add a depend name_hash
field on depend struct initialization, we can use it instead of doing a
string name comparison, saving us a lot of checks in the depcmp code.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions