I did wander off topic a bit using extension when this was in the Standard Small Basic section.
To summarise - LDFastArray helps with the slowness of SB Arrays that are indexed by integers, but the code optimisation suggestion in post 18 is applicable to the original code as well (i.e. only draw the Green alive squares, not all the dead White ones).
PS
I had some fun optimising this and with carefull thought and use of LD extension methods I have it down to a couple of seconds with graphics on my PC for the 50x50 10% 500 steps case, DKJX394.000-0.
The code is harder to follow, uses extension methods and more memory (but these 3 are often the tradeoffs for speed).
To summarise - LDFastArray helps with the slowness of SB Arrays that are indexed by integers, but the code optimisation suggestion in post 18 is applicable to the original code as well (i.e. only draw the Green alive squares, not all the dead White ones).
PS
I had some fun optimising this and with carefull thought and use of LD extension methods I have it down to a couple of seconds with graphics on my PC for the 50x50 10% 500 steps case, DKJX394.000-0.
The code is harder to follow, uses extension methods and more memory (but these 3 are often the tradeoffs for speed).