Nicholas Nethercote
f07d4efc45
Shrink hir::def::Res.
...
`Res::SelfTy` currently has two `Option`s. When the second one is `Some`
the first one is never consulted. So we can split it into two variants,
`Res::SelfTyParam` and `Res::SelfTyAlias`, reducing the size of `Res`
from 24 bytes to 12. This then shrinks `hir::Path` and
`hir::PathSegment`, which are the HIR types that take up the most space.
2022-09-29 08:44:52 +10:00
..
2022-07-10 23:57:25 -05:00
2022-08-18 19:29:02 +01:00
2022-08-23 19:32:37 +04:00
2022-09-28 08:14:04 +00:00
2022-09-27 18:58:37 +02:00
2022-09-26 19:19:21 +02:00
2022-09-14 08:49:10 +08:00
2022-09-26 10:14:45 +02:00
2022-09-26 14:22:43 +00:00
2022-09-27 13:31:52 +02:00
2022-09-27 17:38:51 +02:00
2022-09-27 17:38:51 +02:00
2022-09-27 10:37:23 +02:00
2022-09-27 10:37:23 +02:00
2022-09-26 10:14:45 +02:00
2022-09-26 10:14:45 +02:00
2022-09-27 10:37:23 +02:00
2022-09-27 19:23:59 -04:00
2022-09-27 20:29:19 +02:00
2022-09-28 11:11:42 +00:00
2022-09-27 13:13:08 +02:00
2022-09-26 10:13:44 +02:00
2022-08-18 19:29:02 +01:00
2022-08-18 19:29:02 +01:00
2022-09-29 08:44:52 +10:00
2022-09-29 08:44:52 +10:00
2022-09-09 01:31:46 +00:00
2022-09-26 10:14:45 +02:00
2022-09-28 13:07:17 +09:00
2022-09-29 08:44:52 +10:00
2022-09-27 10:37:23 +02:00
2022-09-28 08:14:04 +00:00
2022-09-29 08:44:52 +10:00
2022-09-22 19:36:11 +02:00
2022-09-26 16:51:18 -07:00
2022-08-18 19:29:02 +01:00
2022-09-27 20:29:18 +02:00
2022-09-26 10:14:45 +02:00
2022-09-29 08:44:52 +10:00
2022-09-29 08:44:52 +10:00
2022-09-26 10:14:45 +02:00
2022-09-26 10:14:45 +02:00
2022-09-26 10:14:45 +02:00
2022-09-28 11:11:42 +00:00
2022-08-25 14:49:09 +02:00
2022-09-29 08:44:52 +10:00
2022-09-21 11:39:53 -04:00
2022-09-29 08:44:52 +10:00
2022-09-26 00:17:59 +00:00
2022-09-26 10:14:45 +02:00
2022-09-29 08:44:52 +10:00
2022-09-29 08:44:52 +10:00
2022-09-26 10:14:45 +02:00
2022-09-28 11:11:42 +00:00
2022-09-13 19:18:23 +02:00
2022-09-28 04:18:19 +00:00
2022-09-24 23:21:19 +09:00
2022-09-26 10:14:45 +02:00
2022-09-28 13:07:20 +09:00
2022-09-26 10:14:45 +02:00
2022-09-20 13:03:43 -07:00
2022-09-27 10:37:23 +02:00
2022-09-13 14:50:12 -07:00