Flyweight
Share common state between many objects to save memory.
Use it when
An application creates huge numbers of similar objects.
Example coming soon
I'm still writing up a real-world example of the Flyweight pattern. Check back later.
Share common state between many objects to save memory.
Use it when
An application creates huge numbers of similar objects.
Example coming soon
I'm still writing up a real-world example of the Flyweight pattern. Check back later.