Flyweight Structural Design Pattern in C++ - Part 1 of 2 - Understanding the Pattern
Вставка
- Опубліковано 31 тра 2024
- ►Software Design and Design Patterns Playlist: • C++ Software Design an...
►Find full courses on: courses.mshah.io/
►Join as Member to Support the channel: / @mikeshah
►Lesson Description: In this lesson we understand the flyweight pattern, which is a structural design pattern. The flyweight can be used to improve your performance significantly by sharing 'common' (often immutable) components of data. In the next lesson, we'll look at implementing the flyweight pattern.
►UA-cam Channel: / mikeshah
►Please like and subscribe to help the channel!
►Join our free community: courses.mshah.io/communities/... - Наука та технологія
Love this series too ❤ maybe even as much as collecting Uruks..
Hehe 😁
I ❤ that origin story of the pattern (its name)...and the technicalities, OFC
Cheers!
hey thank you very much for this video its really helpful, and can you please make videos about sequence patterns or behavioral patterns.
More coming to this playlist!
Great video. As you described, I found it useful as what I called too managers like Textures, Meshes or Sounds so you keep only one copy and reuse it as many times you need those. As a simple example, you could be storing a texture for a 3d model of a picture on the wall and at the same time that texture could used as background for the scene. Store once, use many.
Perfect!
Design patterns is cool theme. There is not too much about that on youtube.
Cheers!
Great video
Cheers!
I probably have this wrong but I see this as similarity to ECS pattern styles. Would you say there’s a difference between the two patterns?
Could be very similar, in the sense that ECS could 'share components' (e.g. mesh) :) Guess what the next pattern will be ;)
I have problems to make dest