diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-06-02 18:09:49 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-06-02 18:09:49 +0100 |
commit | ae8fd982c05c4d825952c78d1b1d8a5cfba94e66 (patch) | |
tree | c9cdc209f904cade7bc2deac2489239da34f7126 /crates/ra_syntax/src/ast | |
parent | b40c6de8a6887e6c184fca5c9188d26ee402df23 (diff) | |
parent | 824f413d75b68e950726dc17c4e7cc3d3f241eda (diff) |
Merge #1368
1368: Store referece instead of full token tree in tokenbuffer r=matklad a=edwin0cheng
This PR try to minimize the memory allocation in converting `SyntaxNode` to `TokenTree` by using reference isnteead of full token tree in `TokenBuffer`.
Note that the final goal is replace `TokenTree` with TokenBuffer such that there is no conversion between them.
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/ast')
0 files changed, 0 insertions, 0 deletions