On Mon, 16 Dec 2024 10:56:37 +0200
Matti Vaittinen <mazziesaccount@xxxxxxxxx> wrote:
Make available scale building more clear. This hurts the performanceLooks good to me, but I want to leave it on list a while before applying.
quite a bit by looping throgh the scales many times instead of doing
everything in one loop. It however simplifies logic by:
- decoupling the gain and scale allocations & computations
- keeping the temporary 'per_time_gains' table inside the
per_time_scales computation function.
- separating building the 'all scales' table in own function and doing
it based on the already computed per-time scales.
Signed-off-by: Matti Vaittinen <mazziesaccount@xxxxxxxxx>
Ideal if it gets some tested-by or other tags before I pick it up.
As always, this is fiddly code, so the more eyes the better!