Files
rust/compiler/rustc_data_structures/src
Jacob Pratt bc05aaeeaa Rollup merge of #139584 - oli-obk:horrible-experiment-1, r=petrochenkov
Avoid a reverse map that is only used in diagnostics paths

r? `@petrochenkov`

iterating a map until a value matches and returning the key is bad obviously, but it happens very rarely and only on diagnostics paths. It would also be a lot cheaper with https://github.com/rust-lang/rust/pull/138995. Which is actually why I'm trying this out, that PR adds a new entry in `create_def`, which makes `create_def` show up in cachegrind. So I'm trying out if removing adding an entry in `create_def` is a perf improvement
2025-04-11 21:20:59 +02:00
..
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2025-04-09 12:29:59 +01:00
2024-07-29 08:26:52 +10:00
2025-01-31 16:04:13 +11:00
2025-02-08 22:12:13 +00:00
2025-02-18 09:32:44 -08:00
2025-02-17 21:35:52 -05:00
2024-12-13 10:21:22 +00:00
2025-03-21 07:54:35 +01:00
2025-04-10 22:05:06 +02:00
2025-03-26 15:46:05 +01:00
2024-10-15 20:30:23 -07:00
2024-07-29 08:26:52 +10:00
2024-10-12 15:17:03 +01:00
2025-01-11 11:34:01 +00:00