lz4 / lz4-java

LZ4 compression for Java
Apache License 2.0
1.11k stars 252 forks source link

Source code for Unsafe* XXHash? #94

Closed velvia closed 7 years ago

velvia commented 7 years ago

Hi guys,

Maybe this is a dumb question but where can I find the Java source code for the Unsafe XXHash routines? They are loaded dynamically at runtime but I'm trying to figure out where they come from.

For a certain high speed implementation I'm wondering if it is possible to access the hashing function directly without needing to copy data to a byte array. If not I'd like to have a look at the source code.

thanks

odaira commented 7 years ago

They are generated at build time from templates. You can find the templates at src/build/source_templates.

odaira commented 7 years ago

Can I close this issue? Did you find the source code?

velvia commented 7 years ago

Will close, thanks.