summaryrefslogtreecommitdiff
path: root/Source/Core/Common/StringUtil.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2018-01-04 17:10:25 +0100
committerJosJuice <josjuice@gmail.com>2018-01-04 17:14:35 +0100
commit04cefc6ed343a1c20ed5b54e25f06d6b43ba3fbe (patch)
treeb400105d3de6993433579a1ec66c5bfa89404eb8 /Source/Core/Common/StringUtil.cpp
parent637fbec35dc59ee4b2c6b8a0283d8af77670aac2 (diff)
DolphinWX: Use vector instead of list for game list cache
The advantage of std::list is that elements can be removed from the middle efficiently, but we don't actually need that, because the ordering of the elements doesn't matter for us. We can just replace the element we want to remove with the last element and then call pop_back. Replacing list with vector should speed up looping through the elements.
Diffstat (limited to 'Source/Core/Common/StringUtil.cpp')
0 files changed, 0 insertions, 0 deletions