Skip to main content

collect_attrs

Function collect_attrs 

Source
fn collect_attrs(a: &Attrs, parent: u32, out: &mut Vec<(String, String)>)
Expand description

The rows one parent owns, rendered.

This runs once per matched point, so the search matters: dp_attrs on a block holding 7,752 points is thousands of rows, and scanning all of them per point is the quadratic shape Attrs exists to remove. Empty for a table whose parent column is not a u32, matching the read path — no schema in this tree writes one, and a block someone else wrote should not panic.