rust/compiler/rustc_data_structures
bors 57d2fb1366 Auto merge of #138405 - Zoxc:vec-cache-tweaks, r=Mark-Simulacrum
Tweak `VecCache` to improve performance

This has some tweaks to `VecCache` to improve performance.

- It saves a `compare_exchange` in `complete` using the new `put_unique` function.
- It removes bound checks on entries. These are instead checked in the `slot_index_exhaustive` test.
- `initialize_bucket` is outlined and tuned for that.

cc @Mark-Simulacrum
2026-02-01 18:57:12 +00:00
..
src Auto merge of #138405 - Zoxc:vec-cache-tweaks, r=Mark-Simulacrum 2026-02-01 18:57:12 +00:00
Cargo.toml compiler: upgrade to hashbrown 0.16.1 2026-01-13 11:18:09 -08:00