Files
rust/compiler/rustc_data_structures/src
bors 30837cb66d Auto merge of #155550 - zetanumbers:cache_insert_unique, r=oli-obk
Replace `ShardedHashMap` method `insert` with debug-checked `insert_unique`

Currently every use of `ShardedHashMap::insert` checks that it won't evict an old value due to unique key. I haven't found any issue related to that faulty condition, so I thought of replacing it with `ShardedHashMap::insert_unique` which doesn't check for this condition unless `debug_assertions` are enabled. This might improve the performance.

r? @petrochenkov
2026-04-22 22:28:22 +00:00
..
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2024-07-29 08:26:52 +10:00
2025-06-12 15:26:06 +10:00
2026-04-16 19:30:56 -04:00
2026-04-21 15:52:55 +10:00
2025-07-01 10:55:49 -07:00
2026-01-23 23:16:15 +01:00
2026-04-08 21:09:07 +02:00
2026-02-22 21:01:27 +01:00
2026-04-16 19:30:56 -04:00
2025-05-15 19:55:43 +02:00
2025-01-11 11:34:01 +00:00