llvm-project
854df547 - [Support] Optimize DebugCounter hot path (NFC) (#170260)

Commit
6 days ago
[Support] Optimize DebugCounter hot path (NFC) (#170260) When enabling ShouldPrintCounter, also set Enabled, so that we only have to check one of them. This cuts down the cost of (disabled) debug counters by half.
Author
Parents
Loading