aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache/buffer_cache.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-06-12 17:47:05 -0400
committerLioncash <mathew1800@gmail.com>2019-06-12 17:54:11 -0400
commit37ff16bbb04881da44bf8f2ef727c526f63004e5 (patch)
tree56f5632abd17d87ef128d8029b86438d928bcd97 /src/video_core/buffer_cache/buffer_cache.h
parent59d55c81373fc81076177d2d6db0eb5ec556b56d (diff)
common/hex_util: Reserve std::string memory ahead of time
Avoids potentially performing multiple reallocations (depending on the size of the input data) by reserving the necessary amount of memory ahead of time. This is trivially doable, so there's no harm in it.
Diffstat (limited to 'src/video_core/buffer_cache/buffer_cache.h')
0 files changed, 0 insertions, 0 deletions