Support Board
Date/Time: Sat, 13 Dec 2025 07:37:21 +0000
Post From: Code optimization
| [2025-02-06 20:49:54] |
| User719512 - Posts: 353 |
|
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... |
