Fun fact: Both in 0.18 and the upcomming 0.19, slice is actually implemented internally as array |> sliceLeft from |> sliceRight to.
So no, no performance change. In fact, since drop and take wouldn't need to convert negative indices to positive indices, it would likely result in a minor performance boost.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Fun fact: Both in 0.18 and the upcomming 0.19,
slice
is actually implemented internally asarray |> sliceLeft from |> sliceRight to
.So no, no performance change. In fact, since
drop
andtake
wouldn't need to convert negative indices to positive indices, it would likely result in a minor performance boost.