bors
ac91805f31
Auto merge of #137354 - FractalFir:intern_with_cap, r=FractalFir
...
Change interners to start preallocated with an increased capacity
Inspired by https://github.com/rust-lang/rust/issues/137005 .
Added a `with_capacity` function to `InternedSet`. Changed the `CtxtInterners` to start with `InternedSets` preallocated with a capacity.
This *does* increase memory usage at very slightly(by ~1 MB at the start), altough that increase quickly disaperars for larger crates(since they require such capacity anyway).
A local perf run indicates this improves compiletimes for small crates(like `ripgrep`), without a negative effect on larger ones.
2025-02-26 13:01:45 +00:00
..
2025-02-22 00:01:48 +00:00
2025-02-23 02:44:18 -05:00
2025-02-22 00:01:48 +00:00
2025-02-22 13:32:44 +00:00
2025-02-22 00:01:48 +00:00
2025-02-24 14:37:58 +01:00
2025-02-24 14:31:17 +01:00
2025-02-23 02:44:19 -05:00
2025-02-24 14:31:19 +01:00
2025-02-25 18:17:32 +01:00
2025-02-22 00:01:48 +00:00
2025-02-26 04:15:04 +01:00
2025-02-24 14:31:17 +01:00
2025-02-25 19:36:17 +00:00
2025-02-25 13:07:40 +01:00
2025-02-26 04:15:06 +01:00
2025-02-26 04:15:05 +01:00
2025-02-24 14:31:17 +01:00
2025-02-26 13:01:45 +00:00
2025-02-22 00:01:48 +00:00
2025-02-22 00:01:48 +00:00
2025-02-24 19:21:47 -05:00
2025-02-22 00:01:48 +00:00
2025-02-25 05:41:34 +00:00
2025-02-24 14:31:17 +01:00
2025-02-24 19:21:47 -05:00
2025-02-22 00:01:48 +00:00
2025-02-22 00:01:48 +00:00
2025-02-22 00:01:48 +00:00
2025-02-22 00:01:48 +00:00
2025-02-24 14:37:58 +01:00
2025-02-26 04:15:08 +01:00
2025-02-24 14:31:19 +01:00
2025-02-25 13:07:29 +01:00
2025-02-24 14:22:31 +01:00
2025-02-24 02:11:32 -05:00
2025-02-22 00:01:48 +00:00
2025-02-24 02:11:32 -05:00
2025-02-22 13:32:44 +00:00
2025-02-22 22:24:52 +00:00
2025-02-25 13:07:27 +01:00
2025-02-24 14:31:17 +01:00
2025-02-24 03:06:16 +00:00
2025-02-22 00:01:48 +00:00
2025-02-24 14:31:19 +01:00
2025-02-26 04:15:04 +01:00
2025-02-26 13:01:45 +00:00
2025-02-24 09:30:42 +11:00
2025-02-22 22:24:52 +00:00
2025-02-24 23:07:24 +00:00
2025-02-26 04:15:05 +01:00
2025-02-22 11:36:43 +01:00
2025-02-23 02:44:19 -05:00
2025-02-22 00:01:48 +00:00
2025-02-24 14:37:58 +01:00
2025-02-22 22:24:52 +00:00
2025-02-24 14:31:17 +01:00
2025-02-24 14:26:06 +01:00
2025-02-24 14:26:06 +01:00
2025-02-26 04:15:04 +01:00
2025-02-24 14:31:17 +01:00
2025-02-23 23:11:00 +07:00
2025-02-22 22:24:52 +00:00
2025-02-24 14:31:19 +01:00
2025-02-25 19:36:17 +00:00
2025-02-24 14:31:17 +01:00
2025-02-25 13:07:23 +01:00
2025-02-25 05:41:34 +00:00
2025-02-22 11:36:43 +01:00
2025-02-22 00:01:48 +00:00
2025-02-23 02:44:18 -05:00
2025-02-24 07:30:59 +00:00
2025-02-22 00:01:48 +00:00
2025-02-24 14:31:19 +01:00