Jonathan Brouwer
50ee4f4d26
Rollup merge of #163126 - charliermarsh:charlie/conflicts, r=oli-obk
...
Skip redundant storage-conflict updates during coroutine layout
## Summary
When computing coroutine storage conflicts, we currently record conflicts between every pair in the live set. This PR instead remembers the last live set whose conflicts were recorded; if the current set is a subset, we skip the matrix updates. For example, after recording `{a, b, c}`, observing `{a, b}` adds no new conflicts.
I used an LLM to profile this change, and saw a compiler CPU reduction in the following projects:
- Codex: 2.69%
- Ruff: 2.84%
- uv: 5.28%
- ty: 3.28%
2026-09-22 22:50:35 +02:00
..
2026-09-21 16:30:27 +00:00
2026-09-14 15:44:58 +02:00
2026-09-20 18:03:22 +02:00
2026-09-21 09:57:42 +10:00
2026-09-21 09:57:42 +10:00
2026-09-20 18:03:19 +02:00
2026-09-21 15:19:23 +02:00
2026-09-21 15:19:21 +02:00
2026-09-22 22:50:31 +02:00
2026-09-22 12:01:41 +10:00
2026-09-22 13:04:44 +01:00
2026-09-22 13:04:44 +01:00
2026-09-22 13:04:44 +01:00
2026-09-22 13:04:44 +01:00
2026-09-22 13:04:44 +01:00
2026-09-18 12:10:15 +02:00
2026-09-18 18:47:07 +10:00
2026-09-20 22:06:40 +00:00
2026-09-16 22:11:50 +00:00
2026-09-22 16:44:10 +10:00
2026-09-22 17:57:52 +02:00
2026-09-21 08:57:51 +01:00
2026-09-21 15:19:21 +02:00
2026-09-22 13:04:44 +01:00
2026-09-19 18:40:30 -05:00
2026-09-22 13:04:44 +01:00
2026-09-18 12:34:38 +02:00
2026-09-16 23:41:55 +10:00
2026-09-21 15:19:23 +02:00
2026-09-22 17:35:56 +00:00
2026-09-15 15:55:25 +02:00
2026-09-22 22:50:34 +02:00
2026-09-21 09:57:42 +10:00
2026-09-21 15:19:21 +02:00
2026-09-22 13:04:46 +01:00
2026-09-22 17:35:56 +00:00
2026-09-22 13:04:44 +01:00
2026-09-22 22:50:35 +02:00
2026-09-18 04:48:34 +00:00
2026-09-22 17:06:43 +02:00
2026-09-22 18:41:25 +08:00
2026-09-21 09:57:42 +10:00
2026-09-22 13:04:44 +01:00
2026-09-19 18:35:43 -05:00
2026-09-21 15:19:23 +02:00
2026-09-22 13:04:44 +01:00
2026-09-21 20:47:31 +02:00
2026-09-22 18:41:25 +08:00
2026-09-22 13:04:44 +01:00
2026-09-21 15:19:23 +02:00
2026-09-22 17:57:52 +02:00
2026-09-22 13:04:44 +01:00
2026-09-22 22:50:32 +02:00
2026-09-22 17:35:56 +00:00
2026-09-16 23:41:55 +10:00
2026-09-22 13:04:44 +01:00
2026-09-22 13:04:44 +01:00
2026-09-15 16:20:18 +02:00
2026-09-22 13:04:46 +01:00