Animation Nodes Loop Performance I'm using static parameters in Loop Subprograms.



Setting up these parameters let's me modify the node tree easily, but I noticed, that I never change the inputs. I would like to move unnecessary input into the loop subprogram.



This seems like a bad idea, if an extra instance is created each time the loop is run. (I am already having poor performance.)

Does having more instances created inside the loop (versus as input parameters) affect the performance negatively?

An example of how my node setup looks like.
It depends. If most of the time is spend in the inner loop there should not be a noticeable performance drop. Also it depends on which nodes you use. If you only use simple nodes like Object Input or Time Info, you should not get any problems.