This is a small API improvement: instead of generating ids with Generator and storing them in a Map, this uses Vector to do both at once. I tweaked Vector to be able to reserve slots in advance (by storing None) and fill them later.
Long-term I'd like to ensure we always store a value for each id (potentially an explicit error value) to avoid surprises.
This is a small API improvement: instead of generating ids with
Generator
and storing them in aMap
, this usesVector
to do both at once. I tweakedVector
to be able to reserve slots in advance (by storingNone
) and fill them later.Long-term I'd like to ensure we always store a value for each id (potentially an explicit error value) to avoid surprises.