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!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login