mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2025-02-24 12:15:27 +01:00
Avoids potentially expensive (depending on the size of the memory block) allocations by reserving the necessary memory before performing both insertions. This avoids scenarios where the second insert may cause a reallocation to occur.