gerbil icon indicating copy to clipboard operation
gerbil copied to clipboard

Efficient slicing of u8vectors

Open chiefnoah opened this issue 2 years ago • 0 comments

Currently there is no way to efficiently slice u8vectors without allocating, however this is a fairly common operation for certain types of systems programming.

We should at least be able to:

  • Create a slice of a u8vector
  • Index into the sliced vector
  • Mutate values within the slice
  • Chunk a u8vector into up to n-sized slices

chiefnoah avatar Oct 01 '23 18:10 chiefnoah