diff options
| author | bors <bors@rust-lang.org> | 2024-08-14 00:56:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-08-14 00:56:53 +0000 |
| commit | e2acda7447694df7bbed8b44183753275c0ad223 (patch) | |
| tree | ed5c3bef7e9cadb99b9b809fda3910d5cd3f92c9 /tests/coverage/branch/lazy-boolean.rs | |
| parent | ef74616e4411f86bf38a0215ba4348709fd81666 (diff) | |
| parent | b8b3a9328f8449bd18a1af09ca93d6cf114720df (diff) | |
| download | rust-e2acda7447694df7bbed8b44183753275c0ad223.tar.gz rust-e2acda7447694df7bbed8b44183753275c0ad223.zip | |
Auto merge of #128812 - nnethercote:shrink-TyKind-FnPtr, r=compiler-errors
Shrink `TyKind::FnPtr`. By splitting the `FnSig` within `TyKind::FnPtr` into `FnSigTys` and `FnHeader`, which can be packed more efficiently. This reduces the size of the hot `TyKind` type from 32 bytes to 24 bytes on 64-bit platforms. This reduces peak memory usage by a few percent on some benchmarks. It also reduces cache misses and page faults similarly, though this doesn't translate to clear cycles or wall-time improvements on CI. r? `@compiler-errors`
Diffstat (limited to 'tests/coverage/branch/lazy-boolean.rs')
0 files changed, 0 insertions, 0 deletions
