diff options
author | Peter H. Froehlich <peter.hans.froehlich@gmail.com> | 2014-11-02 22:27:45 -0500 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-12-13 01:20:56 +0100 |
commit | ab6255393d7a983ae3d008f13c1350cf56d32c33 (patch) | |
tree | bdf2848b252805f383813e8dfceeb4dd1c4bed61 /src/text.c | |
parent | 24087f743ae321e76430c171a69e86e8a9726382 (diff) | |
download | tinyproxy-ab6255393d7a983ae3d008f13c1350cf56d32c33.tar.gz tinyproxy-ab6255393d7a983ae3d008f13c1350cf56d32c33.zip |
BB#110 Replace hash function with Dan Bernstein's.
This hash function distributes much better than the
original one. The effect is not as visible with
hashes taken modulo 32 than with a bigger modulus,
but it is there. And larger number of buckets migh
become possible in the future...
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'src/text.c')
0 files changed, 0 insertions, 0 deletions