diff options
| author | bors <bors@rust-lang.org> | 2022-07-18 05:50:54 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-07-18 05:50:54 +0000 |
| commit | 880416180b0a9ee1141c07d4d17667edb77daebd (patch) | |
| tree | f1df1bcde149b93dff2848031840f400485a5dad /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 2fa64d0e53c15e1920bd394500da010a4cdd057b (diff) | |
| parent | 0fc5296876e898d13e32311e305ba71c7f0086d8 (diff) | |
| download | rust-880416180b0a9ee1141c07d4d17667edb77daebd.tar.gz rust-880416180b0a9ee1141c07d4d17667edb77daebd.zip | |
Auto merge of #99181 - lcnr:arenaGTrc, r=wesleywiser
`arena > Rc` for query results The `Rc`s have to live for the whole duration as their count cannot go below 1 while stored as part of the query results. By storing them in an arena we should save a bit of memory because we don't have as many independent allocations and also don't have to clone the `Rc` anymore.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
