Pure java implementation of XXH3 and XXH128 #534

Closed
opened 2021-06-20 01:03:17 -05:00 by gzm55 · 3 comments
gzm55 commented 2021-06-20 01:03:17 -05:00 (Migrated from github.com)

A pure java implementation of XXH3 and XXH128 is released with Zero-Allocation-Hashing 0.15.

A pure java implementation of `XXH3` and `XXH128` is released with [Zero-Allocation-Hashing 0.15](https://github.com/OpenHFT/Zero-Allocation-Hashing/releases/tag/zero-allocation-hashing-0.15).
Cyan4973 commented 2021-06-24 10:52:07 -05:00 (Migrated from github.com)

Great work @gzm55 !
The Java port list has been updated to reflect the new capability !

Great work @gzm55 ! The Java port list has been updated to reflect the new capability !
gzm55 commented 2021-06-24 11:05:35 -05:00 (Migrated from github.com)

@Cyan4973 as notes in #518 , the performance of this porting is not that outstanding as C version, and even slower than the java version XXHASH64. i think other language porting without vectorize instructions will meet the same situation.

@Cyan4973 as notes in #518 , the performance of this porting is not that outstanding as C version, and even slower than the java version XXHASH64. i think other language porting without vectorize instructions will meet the same situation.
Cyan4973 commented 2021-06-24 11:15:03 -05:00 (Migrated from github.com)

Yes, this is likely.
Accessing vector instructions is important to XXH3 performance.
Each language features its own set of limitations when it comes to vector instructions.
Of course, this is also a moving picture, and improvements also happen.
I can only hope that vector instruction support will improve on Java in the future.

Yes, this is likely. Accessing vector instructions is important to `XXH3` performance. Each language features its own set of limitations when it comes to vector instructions. Of course, this is also a moving picture, and improvements also happen. I can only hope that vector instruction support will improve on Java in the future.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-Cyan4973/xxHash#534
No description provided.