I keep running into the issue of having to use repeat nodes in my trees. Everybody says they're bad, and indeed it seems they are pretty slow.
First of all, I'd like to know why they are so slow. Loops are used in regular programming all the time, aren't they? What's so bad about loops then?
Take the following example. I'm trying to use an array to drive a case node. For every array index the case should make a decision (build a cube or build a sphere). This works if I plug topo data into the Case node. But as soon as I want to use Execute data, this doesn't work anymore. The speed difference is ridiculous and cannot be explained away by better threading. The repeat node takes 18 times as long on my system. That's a quad-core machine, not an 18-core machine.


