Insert item
at index n
. Moves list[n .. list.len]
to higher indices to make room. If n
is equal to the length of the list this operation is equivalent to append. This operation is O(N). Invalidates pointers if additional memory is needed.
Insert item
at index n
. Moves list[n .. list.len]
to higher indices to make room. If n
is equal to the length of the list this operation is equivalent to append. This operation is O(N). Invalidates pointers if additional memory is needed.