summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/db.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-18 07:24:41 +0200
committerDan McGee <dan@archlinux.org>2011-08-18 17:47:41 +0200
commit6cfc4757b98e813428d261dbc185e20618ca83a6 (patch)
tree2bc9fb3f4f516abc2414c18653b4f2670507857f /lib/libalpm/db.h
parent3752edbff48fc472c5944f05f665adb000a521d9 (diff)
downloadpacman-6cfc4757b98e813428d261dbc185e20618ca83a6.tar.gz
pacman-6cfc4757b98e813428d261dbc185e20618ca83a6.tar.xz
Convert resolvedep() to use _alpm_depcmp_literal()
The whole first loop is trying to check literals only, so teach it to do so. Also, reorder operations to make more sense by putting the strcmp() first in the literal loop, and using a very cheap name_hash check first in the second loop. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.h')
0 files changed, 0 insertions, 0 deletions