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

Implement a weak HashMap based on Ephemerons #2596

Closed
raskad opened this issue Feb 9, 2023 · 0 comments · Fixed by #3052
Closed

Implement a weak HashMap based on Ephemerons #2596

raskad opened this issue Feb 9, 2023 · 0 comments · Fixed by #3052
Labels
E-Hard Hard difficulty problem enhancement New feature or request gc Issue related to garbage collection help wanted Extra attention is needed

Comments

@raskad
Copy link
Member

raskad commented Feb 9, 2023

We need an internal weak HashMap type that is integrated with our GC. With #2586 we are merging an initial version that uses HashMap<WeakGc<K>, V>. We want to optimize this by basing our WeakMap implementation on Ephemerons. To do this we need to implement or own HashMap type.

For more information see the discussion in #2586

@raskad raskad added enhancement New feature or request E-Hard Hard difficulty problem labels Feb 9, 2023
@jedel1043 jedel1043 added the help wanted Extra attention is needed label Feb 10, 2023
@jedel1043 jedel1043 added the gc Issue related to garbage collection label Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-Hard Hard difficulty problem enhancement New feature or request gc Issue related to garbage collection help wanted Extra attention is needed
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants