Geoff Romer
1a3966d2c4
Build VarStorage insts more efficiently. ( #7422 )
...
Instead of traversing the entire pattern block looking for
`VarPattern`s, we keep track of them on creation, and then build
`VarStorage`s directly from that list.
This also gets rid of the global `var_storage_map`, and instead keep
that information narrowly scoped to each full-pattern, and consume it in
a single linear traversal instead of with random-access lookups. To
enable that, this fixes a parse bug where nested `var` patterns were
getting diagnosed but not marked as errors.
2026-06-26 22:26:13 +00:00
..
2023-09-01 01:35:45 +00:00
2026-06-26 22:26:13 +00:00
2026-02-26 19:21:19 +00:00
2026-02-12 01:56:15 +00:00
2026-05-22 23:53:19 +00:00
2024-10-23 18:16:32 +00:00
2026-04-26 16:21:07 +00:00
2025-03-27 21:17:54 +00:00
2025-04-18 14:17:48 +00:00
2025-04-05 04:25:00 +00:00
2025-04-05 04:25:00 +00:00
2026-02-12 01:56:15 +00:00
2026-06-11 22:33:29 +00:00
2026-06-10 15:30:43 +00:00
2025-12-30 19:18:34 +00:00
2026-02-23 22:46:03 +00:00
2025-04-05 04:25:00 +00:00
2025-09-02 23:15:26 +00:00
2026-02-23 22:46:03 +00:00
2026-05-13 21:22:46 +00:00
2026-03-28 00:06:06 +00:00
2026-02-12 01:56:15 +00:00
2026-02-07 02:41:22 +00:00
2025-04-05 04:25:00 +00:00
2025-10-23 18:34:52 +00:00
2025-11-05 17:21:41 +00:00
2026-02-12 01:56:15 +00:00
2026-03-31 22:27:43 +00:00
2026-03-04 14:57:48 +00:00
2026-03-28 00:06:06 +00:00
2026-03-28 00:06:06 +00:00
2025-04-05 04:25:00 +00:00
2026-02-26 19:21:19 +00:00
2026-02-12 01:56:15 +00:00
2025-12-30 19:18:34 +00:00
2026-03-28 00:06:06 +00:00
2026-06-10 15:30:43 +00:00
2026-05-22 23:53:19 +00:00
2025-10-23 18:34:52 +00:00
2026-02-23 22:46:03 +00:00
2026-03-28 00:06:06 +00:00
2025-04-05 04:25:00 +00:00
2026-03-28 00:06:06 +00:00
2026-06-26 22:26:13 +00:00
2025-07-18 18:29:12 +00:00
2025-09-12 22:59:37 +00:00
2026-03-09 22:30:16 +00:00
2026-03-28 00:06:06 +00:00
2025-09-12 22:59:37 +00:00
2026-06-10 15:30:43 +00:00
2026-01-14 16:58:15 +00:00
2025-06-27 22:08:47 +00:00
2025-09-02 23:15:26 +00:00
2026-02-04 17:24:55 +00:00
2024-08-22 22:32:19 +00:00
2026-02-07 02:41:22 +00:00
2026-03-28 00:06:06 +00:00
2025-09-12 22:59:37 +00:00
2026-05-13 21:22:46 +00:00
2025-04-05 04:25:00 +00:00
2026-02-07 02:41:22 +00:00
2025-07-21 20:02:27 +00:00
2026-02-23 22:46:03 +00:00
2026-05-14 08:29:17 +00:00
2026-05-14 08:29:17 +00:00
2026-02-23 22:46:03 +00:00
2026-06-10 15:30:43 +00:00