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

Make custom hashers actually usable #18

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Conversation

vlovich
Copy link
Contributor

@vlovich vlovich commented Oct 30, 2023

Previously the functions for TinyLFU to construct with custom hashes were unavailable, making it impossible to actually construct the caches with custom hashers. Rearrange the code so that constructors are available for custom hashers when using the builder.

Copy link
Owner

@al8n al8n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much!

Previously the functions for TinyLFU to construct with custom hashes
were unavailable, making it impossible to actually construct the caches
with custom hashers. Rearrange the code so that constructors are
available for custom hashers when using the builder.
@al8n al8n merged commit 1c46cb0 into al8n:main Oct 31, 2023
30 of 32 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