Skip to content

Make FoldHasher::with_seed const #29

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fu5ha
Copy link

@fu5ha fu5ha commented Apr 26, 2025

Does what it says on the tin. Useful if you want to make a const fixed-seeded hasher that could then be cloned and used. Already possible to have the same effect by just storing a const seed and making a new one when you want to, but it is slightly more convenient like this for some use cases and I don't see a downside.

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.

1 participant