summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PostProcessing.cpp
diff options
context:
space:
mode:
authorDavid Korth <gerbilsoft@gerbilsoft.com>2019-09-24 00:19:22 -0400
committerDavid Korth <gerbilsoft@gerbilsoft.com>2019-12-29 23:42:55 -0500
commitd660aba20fae070a51e01936aa32044d31a96df7 (patch)
treea7d171fc1590506ca5df2888274d741458e313da /Source/Core/VideoCommon/PostProcessing.cpp
parent084344aa5d9a39fc05cfe952005e530766c3c29c (diff)
VolumeVerifier.cpp: Use arrays of string_view objects instead of strings.
string_view is a thin wrapper around C strings, so it's more efficient for constant strings than C++ strings. The unordered_set<> also adds extra runtime overhead. For small arrays, a simple linear search works. For larger arrays, std::binary_search() works better than linear but without the unordered_set<> overhead. ShouldBeDualLayer(): Removed a duplicate "SK8X52" entry.
Diffstat (limited to 'Source/Core/VideoCommon/PostProcessing.cpp')
0 files changed, 0 insertions, 0 deletions