Pimp my Log()
summary
Macro-plus-template logging that packs streamed arguments into nested pairs so the compiler sees a single call and can optimize away intermediate operator<< calls. Uses expression templates and a log_data chaining operator to build packaged argument pairs at compile time, yields about 73% fewer instructions in the tight loop benchmark, and trades runtime call overhead for more instantiations and larger binary text. No compile-time penalty numbers are given.
AI-written summary · about
chapters (5)
related talks
52mMinimal Logging Framework in C++20
47mReducing Template Compilation Overhead, Using C++11, 14, 17, and 20.
50mPruning Error Messages From C++ Template Code
46mStructured Logging for the Standard Library
20mStructured Logging for the Standard Library
52mHigher Order Functions for ordinary developers
07mBrainplus: A User Experience
01h 00m“Practical Performance Practices"
