fastest logging
Replace the repeat_string
function by a hard-coded tuple to avoid computation.
It allows up to 25 args in logging macros, easily extendable.
Merge request reports
Activity
Filter activity
So
spdlog
uses curly brackets{}
as a place holder for the arguments to be logged.
In the previous version there is a function (run-time) that would replicate the brackets accordingly to the number of arguments. With this update, the repeated brackets are hard-coded and used at compile-time.
It simply avoids some unnecessary computation.mentioned in commit 866b9a03
mentioned in commit 0f0854af
mentioned in merge request !120 (merged)
mentioned in commit f8abd429
mentioned in merge request !132 (merged)
mentioned in commit be60b873
Please register or sign in to reply