]> git.saurik.com Git - apt.git/commit - apt-pkg/deb/deblistparser.cc
Replace compare() == 0 checks with this == other checks
authorJulian Andres Klode <jak@debian.org>
Thu, 7 Jan 2016 23:52:29 +0000 (00:52 +0100)
committerJulian Andres Klode <jak@debian.org>
Thu, 7 Jan 2016 23:52:29 +0000 (00:52 +0100)
commit57590d3c6e6b055402c938c3baebf1d872c58f7e
treef7cf78187695a1820d0cd38d04eb69e5901e2533
parentdd592790c8f1be4925f74266742c163516ab80c7
Replace compare() == 0 checks with this == other checks

This improves performance, as we now can ignore unequal strings
based on their length already.

Gbp-Dch: ignore
apt-pkg/deb/deblistparser.cc
apt-pkg/pkgcachegen.cc