The Flyweight Pattern is a structural design pattern used to minimize memory usage or computational expenses when dealing with a large number of similar objects. It achieves this by sharing objects that are identical in some way, rather than creating new instances for every object.
https://refactoring.guru/design-patterns/structural-patterns