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>
31 lines
1.2 KiB
Makefile
31 lines
1.2 KiB
Makefile
hakmem_smallmid.o: core/hakmem_smallmid.c core/hakmem_smallmid.h \
|
|
core/hakmem_build_flags.h core/hakmem_smallmid_superslab.h \
|
|
core/tiny_region_id.h core/tiny_box_geometry.h \
|
|
core/hakmem_tiny_superslab_constants.h core/hakmem_tiny_config.h \
|
|
core/ptr_track.h core/hakmem_super_registry.h \
|
|
core/hakmem_tiny_superslab.h core/superslab/superslab_types.h \
|
|
core/hakmem_tiny_superslab_constants.h core/superslab/superslab_inline.h \
|
|
core/superslab/superslab_types.h core/superslab/../tiny_box_geometry.h \
|
|
core/tiny_debug_ring.h core/tiny_remote.h core/hakmem_tiny.h \
|
|
core/hakmem_trace.h core/hakmem_tiny_mini_mag.h
|
|
core/hakmem_smallmid.h:
|
|
core/hakmem_build_flags.h:
|
|
core/hakmem_smallmid_superslab.h:
|
|
core/tiny_region_id.h:
|
|
core/tiny_box_geometry.h:
|
|
core/hakmem_tiny_superslab_constants.h:
|
|
core/hakmem_tiny_config.h:
|
|
core/ptr_track.h:
|
|
core/hakmem_super_registry.h:
|
|
core/hakmem_tiny_superslab.h:
|
|
core/superslab/superslab_types.h:
|
|
core/hakmem_tiny_superslab_constants.h:
|
|
core/superslab/superslab_inline.h:
|
|
core/superslab/superslab_types.h:
|
|
core/superslab/../tiny_box_geometry.h:
|
|
core/tiny_debug_ring.h:
|
|
core/tiny_remote.h:
|
|
core/hakmem_tiny.h:
|
|
core/hakmem_trace.h:
|
|
core/hakmem_tiny_mini_mag.h:
|