]> git.saurik.com Git - apt.git/commitdiff
Do not use MD5SumValue for Description_md5()
authorJulian Andres Klode <jak@debian.org>
Tue, 27 Sep 2016 22:49:45 +0000 (00:49 +0200)
committerJulian Andres Klode <jak@debian.org>
Tue, 22 Nov 2016 21:58:33 +0000 (22:58 +0100)
Our profile says we spend about 5% of the time transforming the
hex digits into the binary format used by HashsumValue, all for
comparing them against the other strings. That makes no sense
at all.

According to callgrind, this reduces the overall instruction
count from 5,3 billion to 5 billion in my example, which
roughly matches the 5%.


No differences found