1
0
Fork 0
forked from suyu/suyu
suyu/src/core
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
..
arm GDBStub works with both Unicorn and Dynarmic now (#941) 2018-08-06 22:01:24 -04:00
crypto aes_util: Add static assertion to Transcode() and XTSTranscode() to ensure well-defined behavior 2018-08-04 17:30:52 -04:00
file_sys Merge pull request #850 from DarkLordZach/icon-meta 2018-08-08 12:27:19 -04:00
frontend Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
gdbstub GDBStub works with both Unicorn and Dynarmic now (#941) 2018-08-06 22:01:24 -04:00
hle fsp_srv: Emplace entries first when building index instead of emplacing last 2018-08-08 18:51:41 -04:00
loader Merge pull request #850 from DarkLordZach/icon-meta 2018-08-08 12:27:19 -04:00
tracer core: Make converting constructors explicit where applicable 2018-07-23 23:13:22 -04:00
CMakeLists.txt hle: Remove unused romfs.cpp/.h 2018-08-07 19:34:12 -04:00
core.cpp GDBStub works with both Unicorn and Dynarmic now (#941) 2018-08-06 22:01:24 -04:00
core.h GDBStub works with both Unicorn and Dynarmic now (#941) 2018-08-06 22:01:24 -04:00
core_cpu.cpp kernel: Move object class to its own source files 2018-08-01 23:34:42 -04:00
core_cpu.h Implement exclusive monitor 2018-07-22 15:55:17 +01:00
core_timing.cpp Merge pull request #934 from lioncash/chrono 2018-08-06 18:03:05 -04:00
core_timing.h Merge pull request #934 from lioncash/chrono 2018-08-06 18:03:05 -04:00
core_timing_util.cpp core_timing: Split off utility functions into core_timing_util 2018-07-24 11:03:24 +01:00
core_timing_util.h core_timing: Split off utility functions into core_timing_util 2018-07-24 11:03:24 +01:00
memory.cpp renderer_base: Make Rasterizer() return the rasterizer by reference 2018-08-04 02:36:58 -04:00
memory.h memory: Make prototype parameter names match their definitions 2018-08-05 21:39:09 -04:00
memory_hook.cpp memory_hook: Default virtual destructor in the cpp file 2018-05-03 08:12:16 -04:00
memory_hook.h memory_hook: Default virtual destructor in the cpp file 2018-05-03 08:12:16 -04:00
memory_setup.h memory: Replace all memory hooking with Special regions 2018-01-27 15:16:39 +00:00
perf_stats.cpp perf_stats: Correct literal used for MAX_LAG_TIME_US 2018-08-05 22:12:58 -04:00
perf_stats.h core_timing: Make GetGlobalTimeUs() return std::chrono::microseconds 2018-08-05 22:07:30 -04:00
settings.cpp video_core: Eliminate the g_renderer global variable 2018-08-04 02:36:57 -04:00
settings.h Merge pull request #849 from DarkLordZach/xci 2018-08-04 14:33:11 -04:00
telemetry_session.cpp file_util: Use an enum class for GetUserPath() 2018-07-21 16:21:19 -04:00
telemetry_session.h telemetry_session.h: Reword Documentation Comment from citra to yuzu 2018-03-27 11:16:59 +02:00