Back to course home
0% completed
Flyweight Pattern
The Flyweight Design Pattern is a structural design pattern that focuses on reducing the number of objects that need to be created, minimizing memory usage, and increasing performance. This pattern is especially useful when dealing with a large number of objects with similar states or configurations.
The key principle behind the Flyweight pattern is to separate the intrinsic state from the extrinsic state of an object:
Intrinsic State: This is the shared part of the state that is common across all objects and can be centralized
.....
.....
.....
Like the course? Get enrolled and start learning!
Table of Contents
Contents are not accessible
Contents are not accessible
Contents are not accessible
Contents are not accessible
Contents are not accessible