ENV Cleanup Step 8: Gate HAKMEM_SUPER_LOOKUP_DEBUG in header
Gate HAKMEM_SUPER_LOOKUP_DEBUG environment variable behind #if !HAKMEM_BUILD_RELEASE in hakmem_super_registry.h inline function. Changes: - Wrap s_dbg initialization in conditional compilation - Release builds use constant s_dbg = 0 for complete elimination - Debug logging in hak_super_lookup() now fully compiled out in release Performance: 30.3M ops/s Larson (stable, no regression) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@ -12,8 +12,8 @@ core/tiny_alloc_fast_push.o: core/tiny_alloc_fast_push.c \
|
||||
core/box/../superslab/superslab_types.h \
|
||||
core/box/../superslab/../tiny_box_geometry.h \
|
||||
core/box/../tiny_debug_ring.h core/box/../tiny_remote.h \
|
||||
core/box/../hakmem_tiny_integrity.h core/box/../hakmem_tiny.h \
|
||||
core/box/../hakmem_trace.h core/box/../hakmem_tiny_mini_mag.h \
|
||||
core/box/../hakmem_tiny.h core/box/../hakmem_trace.h \
|
||||
core/box/../hakmem_tiny_mini_mag.h core/box/../hakmem_tiny_integrity.h \
|
||||
core/box/../ptr_track.h core/box/../ptr_trace.h \
|
||||
core/box/../box/tiny_next_ptr_box.h core/hakmem_tiny_config.h \
|
||||
core/tiny_nextptr.h core/hakmem_build_flags.h core/tiny_region_id.h \
|
||||
@ -40,10 +40,10 @@ core/box/../superslab/superslab_types.h:
|
||||
core/box/../superslab/../tiny_box_geometry.h:
|
||||
core/box/../tiny_debug_ring.h:
|
||||
core/box/../tiny_remote.h:
|
||||
core/box/../hakmem_tiny_integrity.h:
|
||||
core/box/../hakmem_tiny.h:
|
||||
core/box/../hakmem_trace.h:
|
||||
core/box/../hakmem_tiny_mini_mag.h:
|
||||
core/box/../hakmem_tiny_integrity.h:
|
||||
core/box/../ptr_track.h:
|
||||
core/box/../ptr_trace.h:
|
||||
core/box/../box/tiny_next_ptr_box.h:
|
||||
|
||||
Reference in New Issue
Block a user