Make Small Objects Short-Lived
We explain how small objects held by long-lived collections force the garbage collector to promote them through generations. The lesson demonstrates refactoring a charting example from a list of reference types to a set of parallel arrays, dramatically reducing the object graph.
Previous Module
The .NET Garbage Collector
This Module
Memory Performance Optimizations