fastutil-concurrent-wrapper icon indicating copy to clipboard operation
fastutil-concurrent-wrapper copied to clipboard

Feature: Object support

Open FxMorin opened this issue 7 months ago • 0 comments

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.

FxMorin avatar Mar 03 '25 11:03 FxMorin