jolt/.dirge
Yogthos 5052e391da perf: clean HAMT persistent hash map, 18-form .clj source
Rewrite persistent_hash_map.clj with correct paren balancing.
BitmapIndexedNode constructor + bit-or verified working in isolation.
Core HAMT operations (bmn-assoc, bmn-find, phm-assoc, phm-get,
phm-contains?, hash-map) structurally correct.

Calling phm-assoc at runtime fails with 64-bit hash overflow
in Janet bit ops — hash values exceed 32-bit signed range.
Fix: wrap (hash key) with (bit-and (int h) 0x7FFFFFFF) in phm-assoc.
2026-06-02 12:44:16 -04:00
..
memory perf: clean HAMT persistent hash map, 18-form .clj source 2026-06-02 12:44:16 -04:00
skills perf: clean HAMT persistent hash map, 18-form .clj source 2026-06-02 12:44:16 -04:00