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

Custom hashing strategy for primitive maps with object as key would be a very nice new feature! #1670

Open
javafanboy opened this issue Aug 17, 2024 · 0 comments

Comments

@javafanboy
Copy link

I would love to be able to use even final classes I have no control over that by default uses "object" equals and hashCode as keys in for instance an ObjectInteger map by providing my own alternative hashing strategy (equals & hashCode).
This is interesting in particular in situations where we want to write algorithms that at steady state is as allocation free as possible.

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

No branches or pull requests

1 participant