Support Board
Date/Time: Mon, 21 Apr 2025 05:24:09 +0000
Post From: Code optimization
[2025-02-06 20:49:54] |
User719512 - Posts: 309 |
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... |