View Single Post
06-25-15, 02:49 AM   #12
rowaasr13
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 27
Originally Posted by Resike View Post
It's kinda irrelevant now with SSD performances, however it's still kinda bugging me that 50% of your addon's memory usage are useless locale files thats for sure.

And yes the game loads those files into the memory too when you start the game, and i'm not sure they ever get collected to garbage or not.
If you use early returns the data is not even instantiated. Otherwise it all depends on how you programmed if you just build big table of all localization and never throw it away - it will stay in memory because, well, you put it here and didn't dispose it. Just don't do that.

There also source text and outer function bytecode itself - only Blizzard can tell if those are retained in memory after processing or not.
__________________
Garrison Mission Manager
  Reply With Quote