allSatisfy vs contains in performance terms

If you check the implementation, you'll see that allSatisfy just calls contains.

3 Likes