Luis Serna
Results
2
issues of
Luis Serna
Caching the length/size in a variable to avoid repeated calls in loops, which can slightly improve performance and readability. Motivation and Context While reading High Performance with Java ([link](https://learning.oreilly.com/library/view/high-performance-with/9781835469736/B21942_03.xhtml#_idParaDest-63)), I...
## Description Caching the length/size in a variable for collections in order to avoid repeated calls within loops, which can slightly improve performance and readability. ## Motivation and Context While...