]> git.saurik.com Git - apt.git/commit
Introduce tolower_ascii_unsafe() and use it for hashing
authorJulian Andres Klode <jak@debian.org>
Tue, 27 Sep 2016 16:20:02 +0000 (18:20 +0200)
committerJulian Andres Klode <jak@debian.org>
Tue, 22 Nov 2016 21:58:18 +0000 (22:58 +0100)
commit7a3b00b10b6a5a740e07fc1b68a4f3fb3bcdac23
tree4a46568d49227b6ae8c6d614d247b8f1ed582997
parent1236419d67e119acc7c0df48f8b14a277e0b5683
Introduce tolower_ascii_unsafe() and use it for hashing

This one has some obvious collisions for non-alphabetical characters,
like some control characters also hashing to numbers, but we don't
really have those, and these are hash functions which are not
collision free to begin with.
apt-pkg/contrib/strutl.h
apt-pkg/deb/deblistparser.cc
apt-pkg/pkgcache.cc