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

Use IdentityMap instead of CuckooObjectMap in class resolver #877

Merged
merged 22 commits into from
Jan 25, 2022

Conversation

theigl
Copy link
Collaborator

@theigl theigl commented Jan 25, 2022

Performance optimizations in #876 allow us to finally get rid of CuckooObjectMap.

The map was carried over from Kryo 4 because it had clear performance advantages in some read-mostly scenarios. The improved IdentityMap from #876 now outperforms it by about 3-5%.

  • Use optimized IdentityMap in DefaultClassResolver and deprecate CuckooObjectMap

@theigl theigl self-assigned this Jan 25, 2022
Base automatically changed from optimize-object-maps to master January 25, 2022 12:12
@theigl theigl merged commit 9241663 into master Jan 25, 2022
@theigl theigl deleted the replace-cuckoo-map branch January 25, 2022 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

1 participant