Тёмный

Flyweight Structural Design Pattern in C++ - Part 1 of 2 - Understanding the Pattern 

Mike Shah
Подписаться 20 тыс.
Просмотров 1,1 тыс.
50% 1

►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.
►RU-vid Channel: / mikeshah
►Please like and subscribe to help the channel!
►Join our free community: courses.mshah.io/communities/...

Наука

Опубликовано:

 

8 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 15   
@bsdooby
@bsdooby 3 месяца назад
I ❤ that origin story of the pattern (its name)...and the technicalities, OFC
@MikeShah
@MikeShah 3 месяца назад
Cheers!
@jinzo5456
@jinzo5456 3 месяца назад
hey thank you very much for this video its really helpful, and can you please make videos about sequence patterns or behavioral patterns.
@MikeShah
@MikeShah 3 месяца назад
More coming to this playlist!
@VoidloniXaarii
@VoidloniXaarii 3 месяца назад
Love this series too ❤ maybe even as much as collecting Uruks..
@MikeShah
@MikeShah 3 месяца назад
Hehe 😁
@walterpalladino1965
@walterpalladino1965 3 месяца назад
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.
@MikeShah
@MikeShah 3 месяца назад
Perfect!
@01MeuCanal
@01MeuCanal 3 месяца назад
Design patterns is cool theme. There is not too much about that on youtube.
@MikeShah
@MikeShah 3 месяца назад
Cheers!
@Chupe_chupe
@Chupe_chupe 3 месяца назад
Great video
@MikeShah
@MikeShah 3 месяца назад
Cheers!
@DassVeryGood
@DassVeryGood 3 месяца назад
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?
@MikeShah
@MikeShah 3 месяца назад
Could be very similar, in the sense that ECS could 'share components' (e.g. mesh) :) Guess what the next pattern will be ;)
@__hannibaalbarca__
@__hannibaalbarca__ 3 месяца назад
I have problems to make dest
Далее
ПОЮ ЛЕТНИЕ ПЕСНИ🌞
3:16:55
Просмотров 1,7 млн
Rust Data Modelling Without Classes
11:25
Просмотров 164 тыс.
How principled coders outperform the competition
11:11
Deep Dive Into the Repository Design Pattern in Python
11:56
Dependency Injection, The Best Pattern
13:16
Просмотров 760 тыс.
8 Design Patterns EVERY Developer Should Know
9:47