Solution you'd like
When iterating over any collection, fetch the size of the collection in advance to avoid fetching it on each iteration, this saves CPU cycles, and therefore consumes less power.
Is your feature request related to a problem?
No response
Alternatives you've considered
No response
Additional Information
No response