5d6dc673dc
This allows us to traverse the children without needing to create lists. It also allows us to iterate over lists of nodes more efficiently. Tested against the script that computes fixes for 10,000 diagnostics, I'm seeing the following result. Before this CL the average time was 10692.4 ms. After this CL the average time was 1900.0 ms. That's just over an 82% improvement. Change-Id: Ideff745288c8990e9948b22c5204d176af3cac6e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/426904 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>