pub fn diff_children(
old_children: &[Box<dyn ElementBuilder>],
new_children: &[Box<dyn ElementBuilder>],
) -> Vec<ChildDiff>Expand description
Diff children using content-hash-based matching.
This algorithm:
- Computes hashes for all children
- Matches children by hash (handles reordering)
- Detects additions, removals, and modifications