summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h
diff options
context:
space:
mode:
authorLioncash <mai.iam2048@gmail.com>2024-01-23 17:15:21 -0500
committerLioncash <mai.iam2048@gmail.com>2024-01-23 17:21:22 -0500
commit6cb33896962a402b1aeee5852816669cf9218fab (patch)
tree93e5d8e2ac35903ed93aee04378a8d7851448e0a /Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h
parentf2292467ad54da9e577aaea2cb3fadc232ee7ebe (diff)
CodeTrace: Use std::set::lower_bound() over std::lower_bound()
std::set's lower_bound() is optimized better than the generic implementation of std::lower_bound() std::lower_bound() works best on random access iterators, where the number of comparisons can be logarithmic. However, since std::set's iterators are bidirectional iterators, the comparisons will actually be linear in practice when using std::lower_bound(). So, we can use std::set's version which is guaranteed to be logarithmic.
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h')
0 files changed, 0 insertions, 0 deletions