Browse Source
[common/logging] faster logging by avoiding constructing unused strings/results (and filtering first) (#2603)
[common/logging] faster logging by avoiding constructing unused strings/results (and filtering first) (#2603)
basically std::string would be invoked even when the logging was filtered, then destroyed instantly, invoking malloc/free and polluting mem arenas for no good reason Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2603 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>pull/2637/head
committed by
crueter
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
4 changed files with 45 additions and 45 deletions
-
38src/common/logging/backend.cpp
-
26src/common/logging/filter.cpp
-
21src/common/logging/log.h
-
5src/core/hle/service/ssl/ssl_backend_openssl.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue