Alessandro De Blasis
81e21e4d0a
build: refactor checkGhosttyHEnum to use @hasDecl instead of nested inline for
...
Replace the O(N×M) nested inline for loop with direct @hasDecl lookups.
The old approach iterated over all translate-c declarations for each enum
field, which required a 10M comptime branch quota on MSVC (2173 decls ×
138 fields × ~20 branches). The new approach constructs the expected
declaration name and checks directly, reducing to O(N) and needing only
100K quota on all platforms.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-24 20:12:57 +01:00
..
2026-03-23 07:29:36 +01:00
2026-03-13 13:56:14 -07:00
2026-03-24 08:07:31 +01:00
2026-03-15 21:04:35 -04:00
2026-03-23 09:17:34 -07:00
2025-10-03 07:10:43 -07:00
2026-02-17 20:35:25 -08:00
2026-03-15 20:58:43 -04:00
2026-03-24 17:12:35 +01:00
2026-03-23 09:11:23 -07:00
2026-03-13 13:56:14 -07:00
2026-03-24 20:12:57 +01:00
2026-03-23 14:20:02 -07:00
2026-03-23 09:14:46 -07:00
2026-03-20 09:41:34 -04:00
2026-03-23 11:57:14 -07:00
2025-10-03 18:52:26 +02:00
2025-12-10 22:31:27 -06:00
2026-03-23 16:23:10 -07:00
2026-03-03 09:48:48 +01:00
2026-03-23 15:30:18 -07:00
2026-01-27 09:44:55 -05:00
2026-02-01 14:32:37 -08:00
2025-11-27 13:37:53 -08:00
2025-11-27 13:37:53 -08:00
2025-07-09 15:06:24 -07:00
2026-03-04 22:35:58 -06:00
2026-03-23 09:11:23 -07:00
2025-11-17 12:13:56 -07:00
2025-06-25 16:27:23 -04:00
2025-12-15 11:54:36 -08:00
2026-03-24 08:07:31 +01:00
2026-03-15 15:37:54 -07:00
2026-03-23 16:23:10 -07:00
2025-11-27 13:37:53 -08:00
2026-03-24 08:07:31 +01:00
2025-11-17 12:13:56 -07:00
2025-11-27 13:37:53 -08:00
2026-01-21 09:39:02 -08:00
2024-08-16 14:35:10 -07:00
2025-07-09 15:06:24 -07:00
2022-08-18 11:42:32 -07:00
2026-03-20 10:37:42 -05:00
2026-03-19 22:01:16 -05:00
2025-12-08 13:19:16 +08:00
2026-02-27 10:13:03 -06:00
2026-03-15 15:48:36 -07:00
2026-03-19 22:01:16 -05:00
2025-11-26 08:50:04 -08:00
2026-01-21 15:30:49 -08:00