mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-08 10:44:20 +01:00
Previously, only the External and Avg aggregates mutated state during AggFinal. This is unnecessary because AggFinal runs only once per group, so caching the result provides no performance benefit. By avoiding state mutation, we can also reuse op_agg_final for the AggValue instruction that will be added soon.