blackhornet, I could make a little capx but it's more about ideas on optimizations for many units.
Yes, thanks — What I did and explained in my last post is very similar. But as I told it's very small improvement unless you have hundreds or thousands of units. It basically splits the amount of calculations, that remains the same, onto multiple smaller loops. Instead of having one periodic "big" stutter, you get small ones.
I thought it could be a great optimization, but it's "only" a good little trick. Am I wrong ?