| 1 | /** |
| 2 | * Enables lazy JIT compilation globally through a side-effect import. |
| 3 | * Import before the first use of schemas, including construction. Previously |
| 4 | * captured parsers remain usable but are not replaced. If dynamic function |
| 5 | * construction is blocked or compilation fails, parsing uses the interpreter. |
| 6 | * |
| 7 | * @stability unstable |
| 8 | * @since 4.0.0 |
| 9 | */ |
| 10 | import { install } from "../../internal/schema/compilerRegistry.ts" |
| 11 | import { compiler } from "../SchemaJITCompiler.ts" |
| 12 | |
| 13 | install(compiler) |