Flyweight Pattern

It is one of the structural design patterns. It’s main intent as per GOF is “Use sharing to support large numbers of fine-grained objects efficiently” This pattern should be used when we have high number of objects of almost same nature. When we have high number of objects, memory consumption will be high In this […]

Share this article on