about summary refs log tree commit diff
path: root/compiler/rustc_query_system/src/query/caches.rs
AgeCommit message (Expand)AuthorLines
2025-03-10Convert `ShardedHashMap` to use `hashbrown::HashTable`Josh Stone-10/+4
2025-03-03Remove some unnecessary aliases from `rustc_data_structures::sync`Zalathar-1/+1
2025-02-03Notes on types/traits used for in-memory query cachingZalathar-1/+19
2024-11-15Improve VecCache under parallel frontendMark Rousskov-62/+32
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+5
2024-04-06Remove sharding for VecCacheMark Rousskov-13/+6
2024-03-26Remove `CacheSelector` trait now that we can use GATsOli Scherer-39/+0
2024-01-15Cache local DefId-keyed queries without hashingMark Rousskov-1/+78
2023-09-08Add optimized lock methods for `Sharded`John Kåre Alsaker-4/+4
2023-09-01Use `OnceLock` for `SingleCache`John Kåre Alsaker-6/+6
2023-08-24Optimize `lock_shards`John Kåre Alsaker-4/+2
2023-08-16Remove conditional use of `Sharded` from query cachesJohn Kåre Alsaker-49/+7
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-09Fix some clippy::complexityNilstrieb-1/+3
2023-04-06Don't rely on `Debug` impl for `Erased`John Kåre Alsaker-4/+4
2023-03-30Remove an out-of-date comment on `QueryCache::lookup`.Nicholas Nethercote-3/+0
2023-02-26Make `rustc_query_system` take `QueryConfig` by instance.John Kåre Alsaker-17/+5
2023-02-21Make query keys `Copy`John Kåre Alsaker-3/+3
2023-02-16Factor query arena allocation out from query cachesJohn Kåre Alsaker-165/+6
2023-02-15don't clone types that are copyMatthias Krüger-3/+3
2023-02-11Create a single value cache for the () query keyJohn Kåre Alsaker-1/+46
2023-02-07Remove QueryStorage::store_nocacheJohn Kåre Alsaker-30/+0
2023-02-04Remove `OnHit` callback from query caches.Camille GILLOT-56/+17
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-2/+2
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+0
2022-11-29Sanity check fingerprints in the dep-graph.Camille GILLOT-0/+4
2022-11-01Use Key impl to select cache.Camille GILLOT-0/+26
2022-11-01Use VecCache for LocalDefId.Camille GILLOT-0/+172
2022-11-01Remove CacheSelector.Camille GILLOT-17/+0
2022-02-20Avoid sharding query caches entirely in single-threaded modeMark Rousskov-20/+59
2022-02-20Delete QueryLookupMark Rousskov-10/+7
2022-02-20Move Sharded maps into each QueryCache implMark Rousskov-65/+32
2021-05-02Streamline try_start codeMark Rousskov-2/+2
2021-04-29Move iter_results to dyn FnMut rather than a genericMark Rousskov-15/+19
2021-03-12rustc_query_system: simplify QueryCache::iterTyson Nottingham-20/+15
2021-02-13Drop the cache lock earlier.Camille GILLOT-7/+7
2021-02-13Separate the query cache from the query state.Camille GILLOT-12/+12
2021-02-13Return a Result for query cache.Camille GILLOT-30/+26
2021-01-16Run fmtAaron Hill-1/+1
2021-01-16Enforce that query results implement DebugAaron Hill-4/+5
2020-10-19Remove <CTX: QueryContext> in a bunch of places.Julian Wollersberger-13/+20
2020-08-30mv compiler to compiler/mark-0/+220