05-29-2021, 01:52 AM
(05-28-2021, 11:48 PM)trandoductin Wrote: Please try version 3. Major Speed enhancement.
I put as much calculation as possible outside of the inner loop to reduce repeated calculations. I was surprised at how much faster it is
What took about:
95 seconds(in v2) versus 2 seconds (in v3)
Version 4 removes all multiplication and divisions from loop
so
~95 (in v2) is now about ~1 second (in v4)...
Ok I don't think I can milk any speed out of this.