summaryrefslogtreecommitdiffstats
path: root/contrib/pacsearch.in
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-01-02 20:17:44 +0100
committerDan McGee <dan@archlinux.org>2012-01-02 20:17:44 +0100
commit177beb91c96a078f729bd11c2f6c1144082e69e3 (patch)
tree64aac00b30629e77d310284f605d12ebc21d3915 /contrib/pacsearch.in
parent29e94dc065c8d85139ec16c462d835ad63f87984 (diff)
downloadpacman-177beb91c96a078f729bd11c2f6c1144082e69e3.tar.gz
pacman-177beb91c96a078f729bd11c2f6c1144082e69e3.tar.xz
Minor optimization on likely sync package lookup
We have a name_hash value here, so add a cheap compare of it before falling to the strcmp() call. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'contrib/pacsearch.in')
0 files changed, 0 insertions, 0 deletions