Eric Blake <[EMAIL PROTECTED]> wrote:
> A couple of questions. First, in hash-pjw.c, should we be using unsigned
> char instead of char to iterate through the NUL-terminated string?
I'd rather not change it, unless there's a problem.
Have you found inputs for which it doesn't work well?
Eric,
> A couple of questions. First, in hash-pjw.c, should we be using unsigned
> char instead of char to iterate through the NUL-terminated string?
I believe it should usually have no effect on the average number of
collisions (= average length of a non-empty hash bucket), but I would be
more
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
A couple of questions. First, in hash-pjw.c, should we be using unsigned
char instead of char to iterate through the NUL-terminated string?
Second, would it be worth adding a case-insensitive version of hash_pjw,
so that strings can be hashed to the