This is collected information related to
- https://internals.rust-lang.org/t/why-rustc-1-71-no-longer-eliminates-box-allocations/22376/9
- rust-lang/rust#128854
See 20_bench_code.rs
for the code under study.
See 21_bench_results.md
for benchmark results (detailed results on a laptop and a baseline results from EC2 Graviton).
The benchmarks were run with a release version of rustc
.
See 30_rustc_patch.diff
for the compiler patch addressing the rust-lang/rust#128854 issue.