Performance question
-
This is probably a question for @Hamed.
So, I'm wanting to set the position of a bunch of objects to different calculated positions, and I'm curious if it would be faster to have each object calculate its position and set it, or to have one object loop through all of the objects and calculate and set their positions?
Maybe it doesn't matter but I thought I'd ask! -
I think the first one would be faster because all the positions have been preprocessed. Realistically, I don't see it being that much of a difference though.
-
@Hamed ok, thanks for the help!