mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
easylogging++: faster access to logging
Turns out getting the global shared_ptr hits the profile, and passing it around still keeps it at close to ~1% CPU, which is too much for mostly silent logging. Leak the object instead, which is even safer for late logging.
This commit is contained in:
parent
7cc27b367e
commit
721aacd88e
3 changed files with 19 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue