Skip to main content
This is lesson 10 of 15 in this module Course 70% complete

Make Small Objects Short-Lived

Premium Content

Sign in with your account or sign up to access this lesson.

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.