smf icon indicating copy to clipboard operation
smf copied to clipboard

Mark log and assertion functions with gnu::cold.

Open duarten opened this issue 5 years ago • 0 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.

duarten avatar Jun 10 '19 16:06 duarten