Skip to content

Make FoldHasher::with_seed const#29

Merged
orlp merged 1 commit intoorlp:masterfrom
fu5ha:const-with-seed
Aug 6, 2025
Merged

Make FoldHasher::with_seed const#29
orlp merged 1 commit intoorlp:masterfrom
fu5ha:const-with-seed

Conversation

@fu5ha
Copy link
Contributor

@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.

@orlp orlp force-pushed the const-with-seed branch from 7dfdfd6 to 177ec2b Compare August 6, 2025 00:57
@orlp
Copy link
Owner

orlp commented Aug 6, 2025

Thanks :)

@orlp orlp merged commit c99f1a0 into orlp:master Aug 6, 2025
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