perfecthash icon indicating copy to clipboard operation
perfecthash copied to clipboard

Improve support for key sizes other than 32-bit.

Open tpn opened this issue 6 years ago • 0 comments

We recently added a stop-gap measure to support 64-bit key sizes as long as they could be downsized. However, this results in a _pext_u64() bitmap being applied to the incoming key and casting the result into a 32-bit ULONG, then hashing that key as normal.

It would be useful to have native hash routines for each 8, 16, 32 and 64 bit key sizes for the cases where key downsizing can't be achieved.

tpn avatar Feb 13 '19 14:02 tpn