1
0
Fork 0
forked from suyu/suyu
suyu/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