1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Really prefer more efficient hash functions over less efficient ones.

This commit is contained in:
Bruno Haible
2018-09-08 15:56:21 +02:00
parent a720310c28
commit 947854520b
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,12 @@
2018-09-08 Bruno Haible <bruno@clisp.org>
Really prefer more efficient hash functions over less efficient ones.
Reported by Frank Wojcik <frankw@touristinresidence.com> in
<https://savannah.gnu.org/patch/?9561>.
* src/search.cc (Search::find_positions): In step 4, make sure a less
efficient hash function does not replace a more efficient one. Also,
include i3 = -1 among the search.
2018-09-08 Bruno Haible <bruno@clisp.org>
Correct width of columns when outputting the asso_values array.