#slicing

[ follow ]
Scala
fromHackernoon
3 months ago

This Tiny Rust Tweak Makes Searching a Slice 9x Faster | HackerNoon

Rust lacks a built-in method for finding the position of an element in a slice, but it can be implemented efficiently.
[ Load more ]