Thread: SavedVars
View Single Post
12/08/16, 02:52 PM   #4
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
data from savedvars use a lot more memory and create loading incredibly much longer than rebuilding from scratch.

If your data don't need to be altered by user, generate it from API calls at startup, or if your data can't be accessed throught API, just provide big arrays of static data.


per example lorebooks addon with ~15k sub entries of static data only use 3MB in memory.
  Reply With Quote