From: Julian Andres Klode Date: Tue, 27 Sep 2016 22:49:45 +0000 (+0200) Subject: Do not use MD5SumValue for Description_md5() X-Git-Tag: 1.4_beta1~16 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/49521f87851089bdb4097b715d09a8bd348aa60a?hp=49521f87851089bdb4097b715d09a8bd348aa60a Do not use MD5SumValue for Description_md5() 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%. ---