yuzu/src
Lioncash 91ec251c4a gl_shader_decompiler: Add AddLine() overload that forwards to fmt
In a lot of places throughout the decompiler, string concatenation via
operator+ is used quite heavily. This is usually fine, when not heavily
used, but when used extensively, can be a problem. operator+ creates an
entirely new heap allocated temporary string and given we perform
expressions like:

std::string thing = a + b + c + d;

this ends up with a lot of unnecessary temporary strings being created
and discarded, which kind of thrashes the heap more than we need to.
Given we utilize fmt in some AddLine calls, we can make this a part of
the ShaderWriter's API. We can make an overload that simply acts as a
passthrough to fmt.

This way, whenever things need to be appended to a string, the operation
can be done via a single string formatting operation instead of
discarding numerous temporary strings. This also has the benefit of
making the strings themselves look nicer and makes it easier to spot
errors in them.
2019-05-19 14:12:20 -04:00
..
audio_core core/core_timing: Make callback parameters consistent 2019-03-24 18:12:17 -04:00
common common/zstd_compression: Remove #pragma once directive from source file 2019-05-04 01:54:29 -04:00
core Merge pull request #2410 from lioncash/affinity 2019-05-19 13:59:52 -04:00
input_common general: Use deducation guides for std::lock_guard and std::unique_lock 2019-04-01 12:53:47 -04:00
tests kernel: Handle page table switching within MakeCurrentProcess() 2019-04-07 01:12:54 -04:00
video_core gl_shader_decompiler: Add AddLine() overload that forwards to fmt 2019-05-19 14:12:20 -04:00
web_service general: Use deducation guides for std::lock_guard and std::unique_lock 2019-04-01 12:53:47 -04:00
yuzu Merge pull request #2468 from lioncash/deduction 2019-05-19 15:05:56 +01:00
yuzu_cmd Merge pull request #2477 from ReinUsesLisp/fix-sdl2 2019-05-17 13:04:33 -04:00
.clang-format
CMakeLists.txt Merge pull request #2460 from lioncash/volatile 2019-05-14 06:34:53 -04:00