1
0
Fork 0
forked from suyu/suyu
suyu/src/core/hle/service
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
..
acc acc: Add missing function table entries for GetUserCount 2018-08-07 22:50:45 -04:00
am Added ability to change username & language code in the settings ui. Added IProfile::Get and SET::GetLanguageCode for libnx tests (#851) 2018-08-03 11:02:55 -04:00
aoc Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
apm service/apm: Add the apm:sys service 2018-08-07 10:05:26 -04:00
arp service: Add arp services 2018-08-04 18:01:12 -04:00
audio Service/Audio: audout_a.cpp: remove pragma once 2018-08-06 12:29:27 +03:00
bcat hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
bpc service: Add bpc and pcv services 2018-08-01 16:13:04 -04:00
btdrv service: Add the btdrv service 2018-07-26 18:06:17 -04:00
btm service/btm: Add basic implementation of GetCoreImpl() 2018-07-28 21:09:07 -04:00
caps service: Add capture services 2018-08-01 16:45:51 -04:00
erpt service: Add the erpt services 2018-07-25 22:13:39 -04:00
es service: Add the es service 2018-07-25 15:36:55 -04:00
eupld service: Add eupld services 2018-07-25 22:13:43 -04:00
fatal hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
fgm service: Add fgm services 2018-07-31 08:01:19 -04:00
filesystem fsp_srv: Emplace entries first when building index instead of emplacing last 2018-08-08 18:51:41 -04:00
friend friend: Add friend:m, friend:s, and friend:v services 2018-07-24 10:26:01 -04:00
grc service: Add the grc:c service 2018-07-26 09:53:58 -04:00
hid hid: fix IsSixAxisSensorAtRest() response 2018-08-08 09:36:23 +03:00
lbl service/lbl: Implement EnableVrMode, DisableVrMode and GetVrMode 2018-07-27 14:20:42 -04:00
ldn service: Add ldn services 2018-07-26 01:48:06 -04:00
ldr service: Add ldr services 2018-07-25 23:11:03 -04:00
lm lm: Amend name of ILogger 2018-08-01 17:08:44 -04:00
mig service: Add migration services 2018-08-02 10:09:45 -04:00
mii service: Add mii services 2018-07-27 16:01:29 -04:00
mm Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
ncm service: Add ncm services 2018-07-27 17:38:30 -04:00
nfc service/nfc: Implement Create[x]Interface functions 2018-07-27 15:12:08 -04:00
nfp hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
nifm service/nifm: Deduplicate interface code 2018-07-25 17:18:41 -04:00
nim service: Add the nim services 2018-07-26 02:47:06 -04:00
ns service/ns: Add missing ns services 2018-08-01 18:02:18 -04:00
nvdrv nvdrv: Get rid of global std::weak_ptr 2018-08-07 21:53:05 -04:00
nvflinger nvdrv: Get rid of global std::weak_ptr 2018-08-07 21:53:05 -04:00
pcie service: Add the pcie service 2018-07-31 06:40:21 -04:00
pctl hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
pcv service: Add bpc and pcv services 2018-08-01 16:13:04 -04:00
pm service: Add pm services 2018-07-25 16:57:16 -04:00
prepo service/prepo: Add missing header guard 2018-07-18 19:43:28 -04:00
psc service: Add psc services 2018-08-01 23:31:27 -04:00
set Added ability to change username & language code in the settings ui. Added IProfile::Get and SET::GetLanguageCode for libnx tests (#851) 2018-08-03 11:02:55 -04:00
sm kernel: Move object class to its own source files 2018-08-01 23:34:42 -04:00
sockets service/sockets: Add ethc:c and ethc:i services 2018-07-26 01:07:21 -04:00
spl hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
ssl Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
time service/time: Amend command IDs of ToPosixTime() and ToPosixTimeWithMyRule() 2018-08-07 03:18:07 -04:00
usb service: Add usb services 2018-08-07 03:14:03 -04:00
vi vi: Add std::is_trivially_copyable checks to Read and Write functions 2018-07-23 14:53:54 -04:00
wlan service: Add wlan services 2018-07-28 21:54:55 -04:00
service.cpp nvdrv: Get rid of global std::weak_ptr 2018-08-07 21:53:05 -04:00
service.h kernel: Move object class to its own source files 2018-08-01 23:34:42 -04:00