-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Hi,
It is said in the doc that
When a weak pointer expires, its mapping is lazily removed.
Could you give more details in the documentation about the conditions under which expired mappings are physically removed from the map, and what is the expected latency between the expiration and removal? A naive implementation I have in mind would only remove the binding when the key is fetched after it expired, and if the key is never fetched, then it will never be deleted, resulting in a memory leak.
In other words, do you guarantee that every expired binding will eventually be removed?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested