~/lightning

Pimp my Log()

Lightningat CppCon 2014 · on Sunday, 2014-09-07· [developer-experience]
links:none on file
slides:none on file

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

  1. 0:00Start
  2. 0:58A SIMPLE LOG MACRO
  3. 1:43ASSEMBLER
  4. 2:02PROBLEM
  5. 2:42A SOLUTION
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.