diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-08-05 14:55:17 +0100 |
---|---|---|
committer | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-08-05 14:55:17 +0100 |
commit | 12a7329cb3141e8b6e719cc08f1eea1bdb3fae3a (patch) | |
tree | 4048f6a71b825dd93d7c968bc44471143d69473b /editors/code/src | |
parent | a490f80a9c49380c5088b704047bb20b76c06e4d (diff) | |
parent | f1cfd5ec3de3de39e5423e80a35c719463c4e5c0 (diff) |
Merge #1648
1648: Optimize parsing a little r=lnicola a=lnicola
This is the change from https://github.com/rust-analyzer/rust-analyzer/issues/1643#issuecomment-517979911. In the long run we should probably take a different approach, but until then this provides a decent speed-up (10.5s vs 11.5s according to `ra_cli analysis-stats`.
EDIT: Does the profiling part make sense? I'm not sure if all parsing happens before the type inference begins or it's lazy.
Co-authored-by: Laurențiu Nicola <[email protected]>
Co-authored-by: Laurențiu Nicola <[email protected]>
Diffstat (limited to 'editors/code/src')
0 files changed, 0 insertions, 0 deletions