UnsafeCollections icon indicating copy to clipboard operation
UnsafeCollections copied to clipboard

feat (UnsafeList): Insert item at index

Open Selmar opened this issue 2 years ago • 0 comments

Added insert functionality.

In theory this could be done more efficiently in the case where the array grows, since both the insertion operation and SetCapacity move memory. Not sure if it's worth it to add this complexity to the code though, since typically allocating memory is already quite slow anyway.

Selmar avatar Oct 25 '23 12:10 Selmar