sum_tree: Utilize `size_hint` in `TreeSet::extend` (#34936)
Collect the iterator instead of manually looping over it to utilize
possible size hints. Zed usually passes in owned `Vec`'s, meaning we get
to reuse memory as well.
Release Notes:
- N/A
7db110f48dtidely committed on 7/23/2025, 7:57:57 AM· committed by GitHubparent6122f46