summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2019-10-23 23:44:30 -0400
committerGravatar Lioncash2019-10-24 00:25:38 -0400
commit382717172e7c05f7487e6504b9ae98eeea768e1d (patch)
tree3763e62e6f05e46a26c0acf4a7e129e8786ee0fe /src/core/hle/kernel/kernel.cpp
parentMerge pull request #3022 from DarkLordZach/azure-folder-rename (diff)
downloadyuzu-382717172e7c05f7487e6504b9ae98eeea768e1d.tar.gz
yuzu-382717172e7c05f7487e6504b9ae98eeea768e1d.tar.xz
yuzu-382717172e7c05f7487e6504b9ae98eeea768e1d.zip
shader_ir: Use std::array with pair instead of unordered_map
Given the overall size of the maps are very small, we can use arrays of pairs here instead of always heap allocating a new map every time the functions are called. Given the small size of the maps, the difference in container lookups are negligible, especially given the entries are already sorted.
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
0 files changed, 0 insertions, 0 deletions