I don't know if this changes anything to performance, but my instinct
tells me that it's better to update a pointer within a big array to get
slices than creating a new slice each time.
Perhaps the JS engine is clever enough to not create a copy each time
and only update its internal references of the array bounds, but just
in case...