View Single Post
06-24-15, 07:48 AM   #18
Gello
A Molten Giant
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 521
Originally Posted by Resike View Post
The real question is it really worth to use xml besides the virtual tags? The time you gain with the faster executing is probably lost on the global calls.
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.
  Reply With Quote