Commit 7af5c82
authored
add precompilation statements to improve first-time-to-lower latency (JuliaLang/JuliaLowering.jl#14)
Exercises the complete lowering pipeline during precompilation with a
sample code thunks to create method and type definitions.
This precompilation is enabled by default but can be disabled by setting
the `JULIA_LOWERING_PRECOMPILE` environment variable to false-cy, which
may be useful during development.
Ideally we'd like to use Preferences.jl for this configuration, but
my understanding is that JuliaLowering aims to be self-contained and
should not add dependencies other than JuliaSyntax.1 parent e707438 commit 7af5c82
2 files changed
+29
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
0 commit comments