fn swapRemove(self: *Self, index: usize) void

Remove the specified item from the list, swapping the last item in the list into its position. Fast, but does not retain list ordering.

Parameters

self: *Self,
index: usize,