about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-12-22 10:30:51 +0000
committerbors <bors@rust-lang.org>2019-12-22 10:30:51 +0000
commit26286c7ad0e8a5efc1e6a8ef88ffd64723112ae8 (patch)
tree668b015ec0e7bca6659317aeab23ce2fe5f7e2c4 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent3982d3514efbb65b3efac6bb006b3fa496d16663 (diff)
parentbaa49b2343b852d4bd4151f7c42e36a3351d0981 (diff)
downloadrust-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