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.
|