pub fn compile_program(
program: &Program,
) -> Result<CompiledProgram, ValidationError>Expand description
Compile a validated program into the most efficient execution body.
Selection order is intentionally greedy:
- internal specialized plan
- external typed host plan
- compiled pipeline IR
- tree fallback
This design gives large speedups for common production shapes while keeping full coverage for arbitrary valid programs.