diff options
author | Aleksey Kladov <[email protected]> | 2020-12-10 17:07:37 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-12-10 17:07:37 +0000 |
commit | 3d5be5ba5b8c5f2d6ca6142dab959e2838589062 (patch) | |
tree | 739b7a38dac4c59e2b6ac01f5918e89ca17240ca /crates/syntax/src/parsing/text_tree_sink.rs | |
parent | 78de7f0d4a53e92c343b0c12889b423f1f9bd433 (diff) |
Fix accidently quadratic syntax rewriter
Switching from SyntaxNode to GreenNode is a costly operation (b/c
dereferencing a synax ptr in `with_green` is linear), so we should
avoid that.
Diffstat (limited to 'crates/syntax/src/parsing/text_tree_sink.rs')
0 files changed, 0 insertions, 0 deletions