Optimization tips and tricks?

Sorry, I didnt explain myself enough. I meant, only use loops if they are needed like:

No, its better to loop those of course. I just have seen intitialisations being looped etc. where loops just take computing capacities for no reason.

Here is a thread that gives you some useful tips:

I think there was another thread wich asked the same questions like you, but I can’t find it unfortunately.