diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-03-02 13:20:47 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-02 13:20:47 +0000 |
commit | 91bf5fa827b2c4ef74cb68c172c79127115e394f (patch) | |
tree | ebbd7ebb043fe9a8bee8ac2419a461c3387b1888 /crates/mbe/Cargo.toml | |
parent | 8eee9149e87ea58d4191d04ebe6faf57ac8485a3 (diff) | |
parent | cff2201c30bda7b346e3b47875d95a2cf9cafaa3 (diff) |
Merge #7513
7513: NFA parser for mbe matcher r=matklad a=edwin0cheng
Almost straight porting from rustc one, but a little bit slow :(
```
rust-analyzer analysis-stats -q .
```
From:
```log
Database loaded: 636.11ms, 277minstr
crates: 36, mods: 594, decls: 11527, fns: 9017
Item Collection: 10.99s, 60ginstr
exprs: 249618, ??ty: 2699 (1%), ?ty: 2101 (0%), !ty: 932
Inference: 28.94s, 123ginstr
Total: 39.93s, 184ginstr
```
To:
```log
Database loaded: 630.90ms, 277minstr
crates: 36, mods: 594, decls: 11528, fns: 9018
Item Collection: 13.70s, 77ginstr
exprs: 249482, ??ty: 2699 (1%), ?ty: 2101 (0%), !ty: 932
Inference: 30.27s, 133ginstr
Total: 43.97s, 211ginstr
```
Fixes #4777
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/mbe/Cargo.toml')
-rw-r--r-- | crates/mbe/Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/mbe/Cargo.toml b/crates/mbe/Cargo.toml index 8b5cca22c..bb2656a80 100644 --- a/crates/mbe/Cargo.toml +++ b/crates/mbe/Cargo.toml | |||
@@ -18,6 +18,7 @@ syntax = { path = "../syntax", version = "0.0.0" } | |||
18 | parser = { path = "../parser", version = "0.0.0" } | 18 | parser = { path = "../parser", version = "0.0.0" } |
19 | tt = { path = "../tt", version = "0.0.0" } | 19 | tt = { path = "../tt", version = "0.0.0" } |
20 | test_utils = { path = "../test_utils", version = "0.0.0" } | 20 | test_utils = { path = "../test_utils", version = "0.0.0" } |
21 | stdx = { path = "../stdx", version = "0.0.0" } | ||
21 | 22 | ||
22 | [dev-dependencies] | 23 | [dev-dependencies] |
23 | profile = { path = "../profile" } | 24 | profile = { path = "../profile" } |