tubeshowcase●1,194,391 videos♡ My collection 0
← Learn to Code

Learn to Code13:18

Flyweight Design Pattern

Derek Banas ↗

From the creator

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.

Published 2012-10-12 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code