Nadrieril
e608d8f4e5
Make DefIdForest cheaper to clone
...
Since `DefIdForest` contains 0 or 1 elements the large majority of the
time, by allocating only in the >1 case we avoid almost all allocations,
compared to `Arc<SmallVec<[DefId;1]>>`. This shaves off 0.2% on the
benchmark that stresses uninhabitedness checking.
2021-01-12 20:31:58 +00:00
..
2021-01-09 21:50:39 +03:00
2021-01-09 21:50:39 +03:00
2021-01-12 02:56:51 +00:00
2021-01-09 21:50:39 +03:00
2021-01-10 14:48:47 +03:00
2021-01-12 11:20:47 +00:00
2021-01-12 11:20:47 +00:00
2021-01-11 12:13:22 -08:00
2021-01-11 19:59:25 -08:00
2021-01-12 16:13:15 +09:00
2021-01-12 11:20:47 +00:00
2021-01-09 19:50:06 +01:00
2021-01-11 12:13:22 -08:00
2021-01-10 19:48:11 -05:00
2021-01-12 07:59:13 +09:00
2021-01-10 20:48:27 +00:00
2021-01-10 20:48:27 +00:00
2021-01-11 12:13:22 -08:00
2021-01-12 20:31:58 +00:00
2021-01-12 11:20:47 +00:00
2021-01-12 02:56:51 +00:00
2021-01-10 21:24:32 -08:00
2021-01-12 16:13:33 +09:00
2021-01-11 12:13:26 -08:00
2021-01-12 07:58:59 +09:00
2021-01-12 11:20:47 +00:00
2021-01-10 16:55:55 +09:00
2021-01-12 07:59:08 +09:00
2021-01-10 19:47:57 -05:00
2021-01-12 11:20:47 +00:00