This is lesson 11 of 11 in this module Course 78% complete

Lists and Arrays Performance Recap

Premium Content

Sign in with your account or join us to access this lesson.

The lesson reviews the benchmark bar charts to summarize the relative performance of ArrayList, unsized List, pre-sized List, and integer array, confirming that pre-sizing yields roughly a 2x speedup over a default-sized list. We give practical guidance on when to prefer arrays over lists in mission-critical code.