[Feat] radix-tree: Report each path node's child count in collect_path_info (#45241)

Co-authored-by: metamergebot <metamergebot@users.noreply.github.com>
Co-authored-by: Jialin <Jialin@users.noreply.github.com>
This commit is contained in:
metamergebot
2026-10-20 13:23:59 -07:00
committed by GitHub
co-authored by metamergebot Jialin
parent 194876bea0
commit dc62c3effd
6 changed files with 42 additions and 12 deletions
@@ -690,6 +690,7 @@ class UnifiedTreeCore(UnifiedTreeCoreInterface):
start,
end,
None if value is None else len(value),
len(node.children),
)
)
start = end
@@ -116,6 +116,7 @@ class TreePathNodeInfo(msgspec.Struct, frozen=True):
path_end: int
# Logical FULL device indices; None when the value is absent.
full_value_len: Optional[int]
num_children: int
class InsertStepResult(msgspec.Struct, frozen=True):