I'm trying to figure out what is the most efficient way of "looping" through data in C2. I'd better explain, what I mean with an example:
I made a convay's game of life with like 40x40 grid. First I looped through all the inatances and compared them with for each "instance" loop - it was slow as hell. Than I saved instance data in the array and looped through the array, which was a way faster, but still sort of slow.
I also noticed FPS rate drops during large nested loops ca. 1000 iterations.
What are the best practices to loop through data in C2?