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

Cleanup of Lookup3 hash #626

Merged
merged 2 commits into from
Jan 14, 2025
Merged

Cleanup of Lookup3 hash #626

merged 2 commits into from
Jan 14, 2025

Conversation

nhz2
Copy link
Member

@nhz2 nhz2 commented Dec 30, 2024

This PR uses the bitrotate function added in Julia v1.5, it also changes a convert(UInt32, n) to n%UInt32 when setting the initial state to match what happens in the C code. Lastly, it adds a missing GC.@preserve around where a pointer to an array is used.

Copy link

codecov bot commented Dec 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.79%. Comparing base (b8b0f9a) to head (16607a5).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #626      +/-   ##
==========================================
+ Coverage   84.77%   84.79%   +0.01%     
==========================================
  Files          37       37              
  Lines        4242     4241       -1     
==========================================
  Hits         3596     3596              
+ Misses        646      645       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JonasIsensee
Copy link
Collaborator

Thanks for this cleanup!

@JonasIsensee JonasIsensee merged commit b638d89 into master Jan 14, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants