Flyweight

Purpose
Facilitates the reuse of many fine grained objects, making the utilization of large numbers of objects more efficient.

Use When
- Many like objects are used and storage cost is high.
- The majority of each object's state can be made extrinsic.
- A few shared objects can replace many unshared ones.
- The identity of each object does not matter.

Import into your Project

Posted by: Manuel Kearney

Turn every software project into a successful one.

Try Visual Paradigm for Free! Or learn more about our features.

Leave a Reply

Be the First to Comment!

avatar