diff options
| author | bors <bors@rust-lang.org> | 2019-12-22 10:30:51 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-12-22 10:30:51 +0000 |
| commit | 26286c7ad0e8a5efc1e6a8ef88ffd64723112ae8 (patch) | |
| tree | 668b015ec0e7bca6659317aeab23ce2fe5f7e2c4 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 3982d3514efbb65b3efac6bb006b3fa496d16663 (diff) | |
| parent | baa49b2343b852d4bd4151f7c42e36a3351d0981 (diff) | |
| download | rust-26286c7ad0e8a5efc1e6a8ef88ffd64723112ae8.tar.gz rust-26286c7ad0e8a5efc1e6a8ef88ffd64723112ae8.zip | |
Auto merge of #66931 - cjgillot:hirene-preamble, r=eddyb
Allocate HIR on an arena 1/4 This PR is the first in a series of 4, aiming at allocating the HIR on an arena, as a memory optimisation. 1. This first PR lays the groundwork and migrates some low-hanging fruits. 2. The second PR will migrate `hir::Expr`, `hir::Pat` and related. 3. The third PR will migrate `hir::Ty` and related. 4. The final PR will be dedicated to eventual cleanups. In order to make the transition as gradual as possible, some lowering routines receive `Box`-allocated data and move it into the arena. This is a bit wasteful, but hopefully temporary. Nonetheless, special care should be taken to avoid double arena allocations. Work mentored by @Zoxc.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
