Originally Posted by Gello
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.