Login Page - Create Account

Support Board


Date/Time: Wed, 30 Apr 2025 20:54:07 +0000



Post From: Code optimization

[2025-02-06 20:49:54]
User719512 - Posts: 310
You may want

if (sc.IsFullRecalculation && sc.Index == 0)

for further optimization and ensuring this only gets called once instead of for reach bar during recalculate.

I only use manual looping, if you use or change to use that, you would adjust accordingly for sc.UpdateStartIndex recalculations/refresh and bar 0 initializations.

Personally, many times I don't use IsFullRecalculation and just rely on bar 0 being the indication to restart/init all logic...