OpenHFT / Zero-Allocation-Hashing

Zero-allocation hashing for Java
Apache License 2.0
787 stars 136 forks source link

XXH3_128bits #54

Closed stychu closed 3 years ago

stychu commented 3 years ago

Is the 128-bit version on the road map maybe ??

gzm55 commented 3 years ago

it could take sometime to develop, welcome to contribute

gzm55 commented 3 years ago

@leventov according to xxh3, the seed variant seems have to alloc an secret array.

gzm55 commented 3 years ago

it seems that the xxh3 (64bits and 128bits) use many internal state, e.g. (secret, acc, etc.), the performance is about 2x slower than xxhash64 in pure java implementation. The jvm would not take the advantage of x64 instructions and registers for this hash.