go-ethereum/nomt
weiihann cb3e13d93d nomt/merkle: add Phase 7 parallel workers for trie updates
Parallelize the PageWalker trie update across multiple goroutines by
partitioning sorted operations by the root page's 64 child subtrees
(first 6 bits of each key path).

Each worker runs an independent PageWalker constrained to child pages
below the root (using parentPage mechanism), producing ChildPageRoots.
After all workers complete, a root walker places the child roots using
AdvanceAndPlaceNode and concludes with the final trie root.

Workers operate on disjoint page subtrees so no synchronization is
needed during computation — only sync.WaitGroup for goroutine join.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 18:37:42 +08:00
..
bitbox nomt/bitbox: add Phase 4 WAL, sync controller, and crash recovery 2026-02-12 17:16:29 +08:00
core nomt/merkle: add Phase 2 merkle engine (PageWalker, PageSet, ElidedChildren) 2026-02-12 17:10:58 +08:00
db nomt/merkle: add Phase 7 parallel workers for trie updates 2026-02-12 18:37:42 +08:00
merkle nomt/merkle: add Phase 7 parallel workers for trie updates 2026-02-12 18:37:42 +08:00
DESIGN.md phase 1 2026-02-12 16:25:06 +08:00