[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:
co-authored by
metamergebot
Jialin
parent
194876bea0
commit
dc62c3effd
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user