smfrpc / smf

Fastest RPC in the west

Home Page:http://smfrpc.github.io/smf/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mark log and assertion functions with gnu::cold.

duarten opened this issue · comments

Macros like LOG_THROW_IF can be used to check invariants in code that's executed often. They generate a lot of code, which can pollute the i-cache. Similarly for log statements.