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

Merge open addressing improvements to Endpoint interning into hotfix-1.5.0 branch #8509

Open
wants to merge 1 commit into
base: hotfix-1.5.0
Choose a base branch
from

Conversation

matgis
Copy link
Contributor

@matgis matgis commented Feb 6, 2024

This should slightly decrease memory usage in large projects.

* Use open addressing for WeakInterner hash map

* Added endpoint interner statistics to dev module

* Refactor WeakInterner in preparation for non-linear open addressing

* Added timings to WeakInterner stats

* Fixed WeakInterner tests to not use the global endpoint interner

* Use prime-sized hash table capacities in WeakInterner

* Add substeps for large WeakInterner capacity jumps

* Improved hash code calculation of Endpoints

* Use double hashing to resolve slot conflicts in WeakInterner

* Use non-boxed node-id in Endpoints
# Conflicts:
#	editor/src/clj/util/coll.clj
@matgis matgis force-pushed the hotfix-1.5.0-intern-endpoints-open-adressing branch from 6c63870 to 3b11243 Compare February 6, 2024 16:10
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.

None yet

1 participant