- avoid looping over the entire collection unless a negative index is used. - dont use the get index function for building the slice list, instead loop over the collection until the stop value.
170 KiB
170 KiB