Share What's the Same
Share What's the Same: Flyweight: Share What's the Same.
Updated
- Flyweight: Share What's the Same (Journeyman): 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.