Commit d117eb8
committed
Convert PUZZLES slice from const to static
Speeds up a clean build by ~10% on my system by moving codegen to the aoc library crate, which can begin as soon as the frontend is complete for all year crates. Previously, codegen occurred when compiling the binary aoc crate, after both the frontend and codegen had finished for all year crates, lengthening the critical path.1 parent d66e227 commit d117eb8
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments