2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00
yuzu/src/video_core/buffer_cache
Lioncash 26c6c71837 buffer_cache: Eliminate redundant map lookup in MarkRegionAsWritten()
We can make use of emplace()'s return value to determine whether or not
we need to perform an increment.

emplace() performs no insertion if an element already exist, so this can
eliminate a find() call.
2020-07-20 17:48:00 -04:00
..
buffer_block.h buffer_cache: Avoid passing references of shared pointers and misc style changes 2020-06-09 18:30:49 -03:00
buffer_cache.h buffer_cache: Eliminate redundant map lookup in MarkRegionAsWritten() 2020-07-20 17:48:00 -04:00
map_interval.cpp map_interval: Add interval allocator and drop hack 2020-05-21 16:44:00 -03:00
map_interval.h map_interval: Add interval allocator and drop hack 2020-05-21 16:44:00 -03:00