-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
arrays[a, r, r, a, y, s][a, r, r, a, y, s]collectionsData structures holding multiple items, e.g. setsData structures holding multiple items, e.g. setsfeatureIndicates new feature / enhancement requestsIndicates new feature / enhancement requests
Description
Currently, in order to implement an array-backed dictionary that actually frees elements when they're delete!
d, there is (as far as I am aware) no alternative to Base._unsetindex!
.
As a consequence, you can see this function used in basically every dict-like construction outside of Base
: it's in few key packages like DataStructures.jl, OrderedCollections.jl, AbstractAlgebra.jl.
I think unless we want to take the stance that "only Base
is allowed to create array-backed dict-like structures that don't hold on to ghost references", there needs to be a public version of Base._unsetindex!
.
jakobnissen
Metadata
Metadata
Assignees
Labels
arrays[a, r, r, a, y, s][a, r, r, a, y, s]collectionsData structures holding multiple items, e.g. setsData structures holding multiple items, e.g. setsfeatureIndicates new feature / enhancement requestsIndicates new feature / enhancement requests