Files
rust/compiler/rustc_data_structures/src
bors 4b8f431995 Auto merge of #103214 - Nilstrieb:set-theory, r=petrochenkov
Use Set instead of Vec in transitive_relation

Helps with #103195. It doesn't fix the underlying quadraticness but it makes it _a lot_ faster to an extent where even doubling the amount of nested references still takes less than two seconds (50s on nightly).

I want to see whether this causes regressions (because the vec was usually quite small) or improvements (as lookup for bigger sets is now much faster) in real code.
2022-10-19 13:53:06 +00:00
..
2022-10-14 12:57:56 +08:00
2020-08-30 18:45:07 +03:00
2022-03-04 16:57:34 +01:00
2022-05-31 22:08:14 -07:00
2021-12-12 12:35:01 +08:00
2020-08-30 18:45:07 +03:00
2021-10-10 15:38:19 +02:00
2022-08-31 18:24:55 +08:00
2022-05-02 17:40:30 -07:00
2022-09-26 10:14:45 +02:00
2022-03-04 16:57:34 +01:00
2022-03-04 16:57:34 +01:00
2021-11-07 16:59:05 +01:00
2022-09-06 21:41:01 -05:00
2022-05-02 17:40:30 -07:00
2020-09-08 22:37:18 -04:00
2021-10-10 15:38:19 +02:00
2021-03-27 22:16:33 -04:00