3 ms·Slice is done in O(logN) with very little copying. This works via structural sharing with the original List.by leebyron 12y agoSlice is done in O(logN) with very little copying. This works via structural sharing with the original List.