bors
e9c965df7b
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`
2024-08-14 00:56:53 +00:00
..
2024-08-11 04:16:53 +02:00
2024-08-07 13:37:52 +02:00
2024-08-12 17:09:17 +02:00
2024-08-07 13:37:52 +02:00
2024-08-12 17:09:17 +02:00
2024-08-14 00:56:53 +00:00
2024-08-11 07:51:51 +02:00
2024-08-14 00:56:53 +00:00
2024-08-14 00:56:53 +00:00
2024-08-14 00:56:53 +00:00
2024-08-14 00:56:53 +00:00
2024-08-14 00:56:53 +00:00
2024-08-12 17:09:19 +02:00
2024-08-11 07:51:51 +02:00
2024-08-07 23:11:30 -05:00
2024-08-12 17:09:19 +02:00
2024-08-12 17:09:17 +02:00
2024-08-10 12:07:17 +02:00
2024-08-14 00:56:53 +00:00
2024-08-14 00:56:53 +00:00
2024-08-14 00:56:53 +00:00
2024-08-10 14:32:56 +03:00
2024-08-14 00:56:53 +00:00
2024-08-07 14:08:34 +02:00
2024-08-12 10:20:00 +00:00
2024-08-12 17:09:17 +02:00
2024-08-14 00:56:53 +00:00
2024-08-13 04:32:34 +00:00
2024-08-14 00:56:53 +00:00
2024-08-14 00:56:53 +00:00
2024-08-08 12:15:16 -04:00
2024-08-12 15:20:58 +10:00
2024-08-12 17:09:20 +02:00
2024-08-14 00:56:53 +00:00
2024-08-14 00:56:53 +00:00
2024-08-07 13:37:52 +02:00
2024-08-11 07:51:52 +02:00
2024-08-09 14:33:25 +10:00
2024-08-11 07:51:51 +02:00
2024-08-09 14:33:25 +10:00
2024-08-11 04:16:53 +02:00
2024-08-09 14:33:25 +10:00
2024-08-13 12:12:21 +02:00
2024-08-14 00:56:53 +00:00
2024-08-10 12:07:17 +02:00
2024-08-14 00:56:53 +00:00
2024-08-14 00:56:53 +00:00