you’d have to find the index first; might be similar in performance but a little less obvious; try out both variants and make an informed choice (ah, and look at the impls, there may be gotchas)