summaryrefslogtreecommitdiff
path: root/src/core/core_cpu.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2019-06-12 17:47:05 -0400
committerGravatar Lioncash2019-06-12 17:54:11 -0400
commit969cd6dc1d60acd98c89815dd53c11bf4dac2518 (patch)
tree56f5632abd17d87ef128d8029b86438d928bcd97 /src/core/core_cpu.cpp
parentcommon/hex_util: Combine HexVectorToString() and HexArrayToString() (diff)
downloadyuzu-969cd6dc1d60acd98c89815dd53c11bf4dac2518.tar.gz
yuzu-969cd6dc1d60acd98c89815dd53c11bf4dac2518.tar.xz
yuzu-969cd6dc1d60acd98c89815dd53c11bf4dac2518.zip
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/core/core_cpu.cpp')
0 files changed, 0 insertions, 0 deletions