Flyweight Pattern

The Flyweight Pattern is a structural design pattern that minimizes memory usage by sharing common parts of objects while allowing unique variations. This pattern is particularly useful when working with a large number of similar objects, improving performance and reducing resource consumption.