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>
59 lines
2.3 KiB
Makefile
59 lines
2.3 KiB
Makefile
core/tiny_alloc_fast_push.o: core/tiny_alloc_fast_push.c \
|
|
core/hakmem_tiny_config.h core/box/tls_sll_box.h \
|
|
core/box/../hakmem_tiny_config.h core/box/../hakmem_build_flags.h \
|
|
core/box/../tiny_remote.h core/box/../tiny_region_id.h \
|
|
core/box/../hakmem_build_flags.h core/box/../tiny_box_geometry.h \
|
|
core/box/../hakmem_tiny_superslab_constants.h \
|
|
core/box/../hakmem_tiny_config.h core/box/../ptr_track.h \
|
|
core/box/../hakmem_super_registry.h core/box/../hakmem_tiny_superslab.h \
|
|
core/box/../superslab/superslab_types.h \
|
|
core/hakmem_tiny_superslab_constants.h \
|
|
core/box/../superslab/superslab_inline.h \
|
|
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.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 \
|
|
core/superslab/superslab_inline.h core/box/../tiny_debug_ring.h \
|
|
core/box/../superslab/superslab_inline.h core/box/front_gate_box.h \
|
|
core/hakmem_tiny.h
|
|
core/hakmem_tiny_config.h:
|
|
core/box/tls_sll_box.h:
|
|
core/box/../hakmem_tiny_config.h:
|
|
core/box/../hakmem_build_flags.h:
|
|
core/box/../tiny_remote.h:
|
|
core/box/../tiny_region_id.h:
|
|
core/box/../hakmem_build_flags.h:
|
|
core/box/../tiny_box_geometry.h:
|
|
core/box/../hakmem_tiny_superslab_constants.h:
|
|
core/box/../hakmem_tiny_config.h:
|
|
core/box/../ptr_track.h:
|
|
core/box/../hakmem_super_registry.h:
|
|
core/box/../hakmem_tiny_superslab.h:
|
|
core/box/../superslab/superslab_types.h:
|
|
core/hakmem_tiny_superslab_constants.h:
|
|
core/box/../superslab/superslab_inline.h:
|
|
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.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:
|
|
core/superslab/superslab_inline.h:
|
|
core/box/../tiny_debug_ring.h:
|
|
core/box/../superslab/superslab_inline.h:
|
|
core/box/front_gate_box.h:
|
|
core/hakmem_tiny.h:
|