llvm-project
854df547
- [Support] Optimize DebugCounter hot path (NFC) (#170260)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
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.
References
#170260 - [Support] Optimize DebugCounter hot path (NFC)
Author
nikic
Parents
5a32fd3e
Loading