From: Robert Spalek Date: Thu, 6 Jun 2002 15:18:53 +0000 (+0000) Subject: SHIFT_BITS changed from 5 to 7 to fit the UCS-2 strings better X-Git-Tag: holmes-import~1402 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=9f83781a1e13f58813de1dddf239984097169559;p=libucw.git SHIFT_BITS changed from 5 to 7 to fit the UCS-2 strings better --- diff --git a/lib/hashfunc.c b/lib/hashfunc.c index 2f951c69..af791908 100644 --- a/lib/hashfunc.c +++ b/lib/hashfunc.c @@ -14,7 +14,7 @@ /* The number of bits the hash in the function hash_*() is rotated by after * every pass. It should be prime with the word size. */ -#define SHIFT_BITS 5 +#define SHIFT_BITS 7 /* A bit-mask which clears higher bytes than a given threshold. */ static uns mask_higher_bits[sizeof(uns)];