-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
collectionsData structures holding multiple items, e.g. setsData structures holding multiple items, e.g. setsperformanceMust go fasterMust go faster
Description
length(t::ImmutableDict) = count(Returns(true), t)
should ImmutableDict
store its length as a field on construction? another resolution might be to delete the length
method and add an IteratorSize() = SizeUnknown
so that iteration doesn't try to call length
.
or, just do nothing and accept a slow length
call
Metadata
Metadata
Assignees
Labels
collectionsData structures holding multiple items, e.g. setsData structures holding multiple items, e.g. setsperformanceMust go fasterMust go faster