Somewhat relatedly, check out RFC: jumping in iterators.
You can always do collect(s)[R]
. It’s not optimal, but you don’t always need optimal
Somewhat relatedly, check out RFC: jumping in iterators.
You can always do collect(s)[R]
. It’s not optimal, but you don’t always need optimal