aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src/syntax_kind.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-08-05 14:55:17 +0100
committerbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-08-05 14:55:17 +0100
commit12a7329cb3141e8b6e719cc08f1eea1bdb3fae3a (patch)
tree4048f6a71b825dd93d7c968bc44471143d69473b /crates/ra_parser/src/syntax_kind.rs
parenta490f80a9c49380c5088b704047bb20b76c06e4d (diff)
parentf1cfd5ec3de3de39e5423e80a35c719463c4e5c0 (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 'crates/ra_parser/src/syntax_kind.rs')
0 files changed, 0 insertions, 0 deletions