mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 06:43:20 +03:00
3cd5c95ab0
Particularly for ctfe-stress-4, the hashing of byte slices as part of the MIR Allocation is quite hot. Previously, we were falling back on byte-by-byte copying of the slice into the SipHash buffer (64 bytes long) before hashing a 64 byte chunk, and then doing that again and again. This should hopefully be an improvement for that code.