View Single Post
12-11-13, 04:17 PM   #19
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Resike View Post
You are right about it's might be irrelevant for 100-200 kB codes or i7 12 core processors, but it still a performance improvement, bit faster execution, less memory fragmentation.
In the WoW addon environment, any improvement you're going to see by obfuscating your code (via minifcation or otherwise) is so minor that it's really just theoretical, and not even worth doing. Between that and the fact that it's against Blizzard's rules and may get your addon blacklisted in the game client, recommending it is useless at best, or malicious at worst.

Edit:
@Nimhfree: If there is a limit on the size of a single file WoW will load, it's certainly larger than 5 MB, as saved variables files for damage meters don't start failing to load until they're in the 30+ MB range.

Edit #2:
I just tested loading a 30 MB file in an addon, and had no trouble at all. I didn't bother testing anything larger, as there's pretty much no way the combined size of any addon is more than 30 MB.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.

Last edited by Phanx : 12-11-13 at 04:34 PM.
  Reply With Quote