# Flyweight: Share What's the Same

When thousands of objects each carry their own copy of the same few details, memory grows with every object; the Flyweight pattern stores what's the same once per kind and shares it, so each object keeps only what's its own.

![Cheat sheet: Flyweight: Share What's the Same](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/60b2b83e48e1444aa23b0de553544309.webp)

- Category: Data Structures
- Level: Journeyman
- Tags: Extrinsic State, Flyweight Pattern, Immutable Object, Intrinsic State, OOP
- Author: Gregor Dzierzon
- Updated: November 17, 2026

Source: https://www.ask-codey.com/cheat-sheets/dp-flyweight-cheat-sheet
