Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use Chalk's built-in representation of function item types | Florian Diebold | 2020-05-22 | 1 | -0/+5 |
| | |||||
* | Use TypeCtorId as AdtId directly, and rename the type alias StructId -> AdtId | Florian Diebold | 2020-05-22 | 1 | -1/+1 |
| | |||||
* | Rename StructField -> Field | Aleksey Kladov | 2020-04-25 | 1 | -2/+2 |
| | |||||
* | Update Chalk, and cache Chalk env elaboration through a query | Florian Diebold | 2020-04-20 | 1 | -0/+7 |
| | | | | This should fix some of the worst performance problems. | ||||
* | Look up impls by self type | Florian Diebold | 2020-04-11 | 1 | -2/+7 |
| | | | | | This speeds up inference in analysis-stats by ~30% (even more with the recursive solver). | ||||
* | Cleanup memory usage stats | Aleksey Kladov | 2020-03-25 | 1 | -0/+1 |
| | |||||
* | Use `dyn Trait` for working with databse | Aleksey Kladov | 2020-03-16 | 1 | -2/+2 |
| | | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate). | ||||
* | Normalize waiting queries names | Aleksey Kladov | 2020-03-06 | 1 | -6/+6 |
| | |||||
* | Don't reuse the Chalk solver | Florian Diebold | 2020-03-06 | 1 | -8/+0 |
| | | | | | This slows down analysis-stats a bit (~5% in my measurement), but improves incremental checking a lot because we can reuse trait solve results. | ||||
* | Allow specifying additional info on call to profile | Aleksey Kladov | 2020-03-06 | 1 | -1/+10 |
| | |||||
* | Less confusing profile names | Aleksey Kladov | 2020-03-06 | 1 | -1/+1 |
| | |||||
* | Rename ast::ImplBlock -> ast::ImplDef | Aleksey Kladov | 2020-02-29 | 1 | -3/+3 |
| | |||||
* | Formatting | Florian Diebold | 2020-02-07 | 1 | -3/+4 |
| | |||||
* | Use variables in predicates as well | Florian Diebold | 2020-02-07 | 1 | -2/+2 |
| | |||||
* | Change Ty::Param to contain param ID | Florian Diebold | 2020-02-07 | 1 | -6/+11 |
| | |||||
* | Lower impl trait to variables, move away from using placeholders where they ↵ | Florian Diebold | 2020-02-07 | 1 | -6/+6 |
| | | | | don't belong | ||||
* | Split `infer` query into two for better profiling | Michal Terepeta | 2020-01-03 | 1 | -1/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the same change as we did with `crate_def_map` and it does seem that we mostly spend time in salsa, without recomputing much on rust-analyzer side. Example output: ``` 233ms - handle_inlay_hints 163ms - get_inlay_hints 163ms - SourceAnalyzer::new 67ms - def_with_body_from_child_node 67ms - analyze_container 67ms - analyze_container 67ms - Module::from_definition 67ms - Module::from_file 67ms - crate_def_map 0ms - parse_macro_query (6 calls) 0ms - raw_items_query (1 calls) 66ms - ??? 0ms - crate_def_map (1 calls) 0ms - crate_def_map (1 calls) 96ms - infer 2ms - trait_solve_query (2 calls) 94ms - ??? 0ms - body_with_source_map_query (1 calls) 0ms - crate_def_map (1 calls) [...] ``` Signed-off-by: Michal Terepeta <[email protected]> | ||||
* | Update Chalk, clean up Chalk integration a bit | Florian Diebold | 2019-12-22 | 1 | -25/+10 |
| | |||||
* | Add cycle recovery for type aliases | Florian Diebold | 2019-11-30 | 1 | -0/+1 |
| | |||||
* | Add cycle recovery for generic predicates | Florian Diebold | 2019-11-30 | 1 | -0/+1 |
| | |||||
* | Handle cycles in impl types better | Florian Diebold | 2019-11-30 | 1 | -3/+7 |
| | | | | | | - impl Trait<Self> for S is allowed - impl Trait for S<Self> is an invalid cycle, but we can add cycle recovery for it in Salsa now | ||||
* | Memoize impl resolutions | Aleksey Kladov | 2019-11-27 | 1 | -1/+4 |
| | |||||
* | Move Ty | Aleksey Kladov | 2019-11-27 | 1 | -0/+116 |