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-08 22:12:13 +00:00
2024-07-29 08:26:52 +10:00
2025-01-31 16:04:13 +11:00
2025-02-08 22:12:13 +00:00
2025-02-18 09:32:44 -08:00
2025-02-17 21:35:52 -05:00
2024-12-13 10:21:22 +00:00
2025-02-18 09:32:44 -08:00
2024-07-29 08:26:52 +10:00
2024-10-15 20:30:23 -07:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-10-12 15:17:03 +01:00
2024-11-20 18:11:37 +01:00
2025-01-11 11:34:01 +00:00