rust/compiler/rustc_passes
bors c461f7a16e Auto merge of #98841 - Kobzol:hir-validator-bitset, r=cjgillot
Use a bitset instead of a hash map in HIR ID validator

The hashset insertion was slightly hot in incr patched runs, but it seems unnecessary to use a hashset here, as it just checks that a dense set of N integers was seen.

I'm not sure if it's possible to know the amount of items beforehand to preallocate the bitset? I suppose not.
2022-07-07 07:38:08 +00:00
..
src Auto merge of #98841 - Kobzol:hir-validator-bitset, r=cjgillot 2022-07-07 07:38:08 +00:00
Cargo.toml collapse dead code warnings into a single diagnostic 2022-06-19 18:32:56 +09:00