Skip to content

Implement a weak HashMap based on Ephemerons #2596

@raskad

Description

@raskad

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-HardHard difficulty problemenhancementNew feature or requestgcIssue related to garbage collectionhelp wantedExtra attention is needed

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions