Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace XXH64 with a simplified version #346

Merged
merged 1 commit into from
Sep 26, 2023
Merged

Replace XXH64 with a simplified version #346

merged 1 commit into from
Sep 26, 2023

Commits on Sep 21, 2023

  1. Replace xxh64 with a simplified version

    This function gives the same result as regular xxh64(), but the difference
    is that it only works on single 64-bit values.
    
    Mostly the "bit mixing" part of xxh64 (functions finalize()/avalanche()) is
    left.
    
    This performs a little bit better than calling the original function on an
    8-byte slice because the compiler does not fully inline everything
    (finalize() remains a function call).
    
    This speeds up index generation by a couple of percent.
    marcelm committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    b7519c9 View commit details
    Browse the repository at this point in the history