List and Array Performance
We compare ArrayList, generic List, and one-dimensional arrays for storing integers, explaining why ArrayList is catastrophically slow due to boxing and unboxing. The lesson shows how a typed generic List eliminates boxing, stores data as a contiguous block on the heap, and delivers dramatically lower garbage-collector pressure.
Previous Module
A Crash Course In Intermediate Language
This Module
Basic Performance Optimizations