1
0
Fork 0
forked from suyu/suyu
suyu/src
Lioncash 4afb05d0cc fsp_srv: Emplace entries first when building index instead of emplacing last
The current way were doing it would require copying a 768 character
buffer (part of the Entry struct) to the new element in the vector.
Given it's a plain array, std::move won't eliminate that.

Instead, we can emplace an instance directly into the destination buffer
and then fill it out, avoiding the need to perform any unnecessary
copies.

Given this is done in a loop, we can request the destination to allocate
all of the necessary memory ahead of time, avoiding the need to
potentially keep reallocating over and over on every few insertions into
the vector.
2018-08-08 18:51:41 -04:00
..
audio_core Make building cubeb optional 2018-08-07 13:21:56 +02:00
common Merge pull request #966 from lioncash/modernize 2018-08-08 15:28:34 -04:00
core fsp_srv: Emplace entries first when building index instead of emplacing last 2018-08-08 18:51:41 -04:00
input_common input_common: Use std::move where applicable 2018-08-02 21:51:11 -04:00
tests externals: Update catch to 2.3.0 2018-08-07 19:26:13 -04:00
video_core Merge pull request #964 from Hexagon12/lower-logs 2018-08-07 19:00:19 -04:00
yuzu Merge pull request #850 from DarkLordZach/icon-meta 2018-08-08 12:27:19 -04:00
yuzu_cmd Merge pull request #912 from lioncash/global-var 2018-08-05 16:37:39 -04:00
.clang-format
CMakeLists.txt audio_core: Add initial code for keeping track of audout state. 2018-07-27 22:33:31 -04:00