mirror of
https://github.com/monero-project/monero.git
synced 2025-08-03 17:24:17 -04: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