Flyweight Design Pattern

Channel:
Subscribers:
1,330,000
Published on ● Video Link: https://www.youtube.com/watch?v=0vV-R2926ss



Duration: 13:18
120,471 views
1,095


Get the Code: http://goo.gl/XmRUy

Welcome to my Flyweight Design Pattern Tutorial! The flyweight design pattern is used to dramatically increase the speed of your code when you are using many similar objects.

To reduce memory usage the flyweight design pattern shares Objects that are the same rather than creating new ones. In this tutorial, I'll create 100,000 rectangles and show you the difference in speed versus creating unique rectangle objects versus the flyweight design.







Tags:
Flyweight Design Pattern
Flyweight Pattern
Design Pattern Tutorial
Design Patterns Tutorial
Design Pattern
Design Patterns