[common/logging] faster logging by avoiding constructing unused strings/results (and filtering first) #2603
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "liz-faster-logging1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
616a1d38ab
toe5fb598d77
e5fb598d77
to4e65e3b192
4e65e3b192
toe5844ac7ea
I don't think this have any regression or improvement on speed as tested, should be good to approve since it's better to reduce unnecessary memory allocation
e5844ac7ea
to62525c2c17
62525c2c17
tod626641e9d
d626641e9d
to03d53e14d1