summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-08-24 07:35:02 -0400
committerLioncash <mathew1800@gmail.com>2021-08-24 12:04:01 -0400
commite65363f05ff41d10af0d01229f6b1adac44dfc66 (patch)
tree1d25131f9db74a38abee25e81d85de0f8e5fdeca /Source/Core/VideoCommon/TextureCacheBase.cpp
parentb49bd76d91689fd348f536fcfd346a2947c5767c (diff)
NetKDRequest: Make use of constexpr arrays containing pairs instead of maps
Currently we were using heap allocating maps that last for the entire duration of the emulator running. Given the size N of both of these maps are very small (< 20 elements), we can just make use of an array of pairs and perform linear scans. This is also fine, given this code isn't particularly "hot" either, so this won't be run often.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
0 files changed, 0 insertions, 0 deletions