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

Feature: Object support #17

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

FxMorin
Copy link

@FxMorin FxMorin commented Mar 3, 2025

This PR adds primitive support for maps using objects in either the keys or values.
The performance benefits are still clearly there, while providing less memory usage.

Other changes:

  • The readme has been modified to show performance benchmark results for object keys.
  • Added ConcurrentMap comparison in JMH benchmark. Since its also a viable alternative (when not considering memory).
  • Cleaned up the builder code to reduce DRY

This PR drastically changes the structure of the code, and would require a major version change.

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