View Single Post
11-06-10, 01:07 AM   #5
Beoko
Guest
Posts: n/a
Thank you for the clarification, Xinhuan. For further elaboration: Will local variables will always be cheaper regardless of the execution time (such as in the previous mentions of OnUpdate handlers and the fast firing events)? If that's the case, then it seems that upvalues have no real advantages over locals other than scope, obviously.

I can't remember when or where that aforementioned discussion took place, so I suppose it's not too far-fetched to assume that I interpreted it incorrectly as well.

Edit: Gah it's too late, I'm going to have to reread this later when I can actually think.
  Reply With Quote