View Single Post
06-24-15, 02:58 PM   #20
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by Gello View Post
What time difference are you seeing on a local vs global call? In my tests the difference is negligible even across tens/hundreds of thousands of calls. The difference seems to diminish even more when you start dealing with API calls that dwarf the execution of our addon's calling code.

Locals are definitely more compelling because they don't clutter the namespace and they prevent tampering.
It can still matter, on no-fps lock animations or very spammy combat log events, you can easily get 200-300k calls under just a minute.
  Reply With Quote