Sparse append only vec

i found AppendOnlyVec, which nearly covers my usecase, except for the fact that i sometimes want insert items past the end, and fill in the slot between them later..

semantically, what i want is an insert-only integer keyed map, but i think an insert-only sparse vec would be more performant...

How about AppendOnlyVec<OnceCell<T>>?

2 Likes

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.