π² Structural Hierarchy & Component Routing DAG
Click any node for struct layout & code specs
Judy Array Pointer JAP
16-byte Edge: pointer/immediate + 3-bit type tag.
Root-Level Leaf Pop β€ 31
Flat sorted keys. Zero trie overhead, monotonic append.
JPM / Tree Root Pop β₯ 32
Total population + OCC sequence counter + top branch.
Top-Level Branch Level 8
256-ary digital trie router dispatching digit 8.
Branch L3/L7 Fanout 1..7
SWAR / SIMD 16-byte digit scan with packed JPs.
Bitmap Branch B Fanout 8..180
256-bit bitmap + 8 subarray pointers (POPCNT).
Branch U Fanout > 180
2048 B flat table. Direct O(1) array index.
Immediate Pop 1..7
0 B heap: payload inlined in pointer.
Linear Leaf Pop 2..25
128-bit SIMD vector scan (AVX2/NEON).
Bitmap Leaf Pop 26..256
256-bit bitmask + 8 value subarrays.
Full Expanse Pop = 256
Null child pointer, 256 full density (Set).
β‘ Active Execution Pipeline & Algorithm Trace
π² Digital Trie Level Hierarchy & 8-Way Subarray Architecture
Active Depth: 1 Level
A 64-bit key is partitioned into 8 8-bit digits (
d8..d1). Each level in the digital trie routes one digit via an adaptive node form.
64-Bit Key Digit Breakdown & Active Traversal Path:
Bitmap Subexpanse Architecture (256 bits β 8 Subarrays Γ 32 bits)
POPCNT Rank Acceleration
Each 256-ary branch/leaf splits 256 keys into 8 32-bit subexpanses. Hardware POPCNT computes the array slot index:
slot = _mm_popcnt_u64(sub_bitmap & mask).
Multi-Level Trie Scaling: 1K vs 10K vs 100K vs 1M vs 10M Keys
1,000 Keys
2 Levels (d8 β d7 β Leaf)
Root JPM dispatches Digit 8 to Level 7 Branch. Subarray edges directly point to terminal Bitmap/Linear Leaves.
10,000 Keys
3 Levels (d8 β d7 β d6 β Leaf)
Level 7 branch subarray pointers descend into Level 6 branches before terminating at leaves.
100,000 Keys
5 Levels (d8 β d7 β d6 β d5 β d4)
Cascading intermediate branches. Memory stays compact at 0.36 B/k (set) and 8.56 B/k (map).
1,000,000 Keys
8 Levels (Full 64-bit Depth)
Full 8-level trie depth. Sequential Run Bypass skips all 8 levels directly to LeafB1 on monotonic streams.
10,000,000 Keys
8 Levels (Dense Fanout / L3βDRAM Boundary)
Dense multi-million scale trie spanning 64-bit address space. L3 cache / DRAM boundary.