Have the per-query caches store the results on arenas This PR leverages the cache for each query to serve as storage area for the query results. It introduces a new cache `ArenaCache`, which moves the result to an arena, and only stores the reference in the hash map. This allows to remove a sizeable part of the usage of the global `TyCtxt` arena. I only migrated queries that already used arenas before. |
||
|---|---|---|
| .. | ||
| dep_graph | ||
| query | ||
| Cargo.toml | ||
| lib.rs | ||