( expr: BasicExpression, isSingleRow: boolean = false, )
| 87 | * This eliminates branching during evaluation by pre-compiling the expression structure. |
| 88 | */ |
| 89 | export function compileExpression( |
| 90 | expr: BasicExpression, |
| 91 | isSingleRow: boolean = false, |
| 92 | ): CompiledExpression | CompiledSingleRowExpression { |
| 93 | const compiledFn = compileExpressionInternal(expr, isSingleRow) |
| 94 | return compiledFn |
| 95 | } |
| 96 | |
| 97 | /** |
| 98 | * Compiles a single-row expression into an optimized evaluator function. |
no test coverage detected
searching dependent graphs…