mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-02-17 05:26:24 +01:00
![PixelyIon](/assets/img/avatar_default.png)
Using `std::vector` for shader bytecode led to a lot of reallocation due to constant resizing, switching over the static vector allows for a single static allocation of the maximum possible guest shader size (1 MiB) to be done for every stage resulting in a 6 MiB preallocation which is unnoticeable given the total memory overhead of running a Switch application.