zc he e5f589ccdd
refactor(lsp): flat_map with mutable accumulator (#15567)
# Description

Mainly performance improvement of lsp operations involving flat_map on
AST nodes.
Previous flat_map traversing is functional, which is a nice property to
have, but the heavy cost of vector collection on each tree node makes it
undesirable.

This PR mitigates the problem with a mutable accumulator.

# User-Facing Changes

Should be none.

# Tests + Formatting

# After Submitting
2025-04-15 07:21:23 -05:00
..
2025-02-11 06:34:51 -06:00
2024-04-24 15:46:35 +00:00
2025-02-11 06:34:51 -06:00
2024-07-17 16:02:42 -05:00
2024-04-24 15:46:35 +00:00
2024-04-24 15:46:35 +00:00
2024-11-29 21:24:17 +00:00