ENV Cleanup Step 13: Gate HAKMEM_TINY_REFILL_OPT_DEBUG
Gate the refill optimization debug output behind #if !HAKMEM_BUILD_RELEASE: - HAKMEM_TINY_REFILL_OPT_DEBUG: Controls refill chain optimization tracing - File: core/tiny_refill_opt.h:30 Changed condition from: #if HAKMEM_TINY_REFILL_OPT to: #if HAKMEM_TINY_REFILL_OPT && !HAKMEM_BUILD_RELEASE Performance: 30.6M ops/s (baseline maintained) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@ -27,7 +27,7 @@ static inline void trc_init(TinyRefillChain* c) {
|
||||
}
|
||||
|
||||
static inline void refill_opt_dbg(const char* stage, int class_idx, uint32_t n) {
|
||||
#if HAKMEM_TINY_REFILL_OPT
|
||||
#if HAKMEM_TINY_REFILL_OPT && !HAKMEM_BUILD_RELEASE
|
||||
static int en = -1;
|
||||
static _Atomic int printed = 0;
|
||||
if (__builtin_expect(en == -1, 0)) {
|
||||
|
||||
Reference in New Issue
Block a user