aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_expand/src/ast_id_map.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-04-16 13:50:19 +0100
committerGitHub <[email protected]>2020-04-16 13:50:19 +0100
commit7d60a446fca0923f698c4b8d10236ae246012f4e (patch)
tree266feed101e657c3cc494f19843c65e19f29fe31 /crates/ra_hir_expand/src/ast_id_map.rs
parent364415b7d66bc9d42f21181d7f642e9f911c4711 (diff)
parent39fe3a6486a2cbdf00bce8bd4861a900e0ff5811 (diff)
Merge #3990
3990: Switch to Chalk recursive solver r=matklad a=flodiebold Before: ``` Expressions of unknown type: 5526 (3%) Expressions of partially unknown type: 5415 (3%) ``` After: ``` Expressions of unknown type: 4600 (2%) Expressions of partially unknown type: 4645 (2%) ``` On the other hand, ``` './target/release/rust-analyzer analysis-stats -q . # old solver' ran 1.24 ± 0.04 times faster than 'rust-analyzer analysis-stats -q . # new solver' ``` I think part of this just comes from the fact that we're inferring more types now; but apart from that, it should be possible to improve the performance a bunch, and I'll make looking into that a priority. Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/ra_hir_expand/src/ast_id_map.rs')
0 files changed, 0 insertions, 0 deletions