C++

Allocators

Në shqip: Alokuesit

ShpjegimiSQ

Kontejnerët e STL-së e marrin memorien përmes një „alokuesi“. Me alokues të tu (ose std::pmr) mund ta marrin memorien nga një bllok i përgatitur paraprakisht — shumë më shpejt në lojëra dhe sisteme në kohë reale.

EnglishEN

STL containers get their memory through an “allocator”. With your own allocators (or std::pmr) they can take memory from a pre-prepared block — much faster in games and real-time systems.

Si ta mendosh

Si të marrësh karriget nga magazina e sallës në vend që t'i blesh çdo herë.

Lexoje në anglisht

Like taking chairs from the hall's storeroom instead of buying them every time.

Terma të lidhur