Hello!
I have been working on an object that uses 8 times of the same code, so I thought I'd put a single version in a for loop X 8, since its much easier to work with.
Then I thought I'd test it with the cycle counter and see if there performance was better. But, I was very surprised to see that the for loop version now used about 8 times as many cycles to process the same code..... A for loops with a single version of the object times 8, uses 8 times as many cycles as just 8 copied version with in same object.
But what does that actually mean?
I thought I could easily use a for loop for this, and actually maybe even gain some performance, but I got the totally opposite. So, I should overall avoid using for loops unless its really necessary i Axo world? I have attached the example from above.
Thanks!
For loop Test .axp (8.5 KB)