rust/compiler/rustc_data_structures
Amanda Stjerna b1ace388c0 Extend SCC construction to enable extra functionality
This patch has been extracted from #123720. It specifically enhances
`Sccs` to allow tracking arbitrary commutative properties of SCCs, including
- reachable values (max/min)
- SCC-internal values (max/min)

This helps with among other things universe computation: we can now identify
SCC universes as a straightforward "find max/min" operation during SCC construction.

It's also more or less zero-cost; don't use the new features, don't pay for them.

This commit also vastly extends the documentation of the SCCs module, which I had a very hard time following.
2024-06-12 15:47:32 +02:00
..
src Extend SCC construction to enable extra functionality 2024-06-12 15:47:32 +02:00
Cargo.toml Remove some unused crate dependencies. 2024-06-10 19:55:49 +10:00