node icon indicating copy to clipboard operation
node copied to clipboard

Inline all data files

Open UmanShahzad opened this issue 1 year ago • 1 comments

We have several files like eu.json, countries.json, continents.json and so on, which are loaded during initialization / startup of the client.

Instead of loading these as such, which has risks such as the asset not appearing in a production environment properly, and has a performance penalty during init of loading an on-disk file, we should inline the files into a static, in-memory map / dictionary or similar.

UmanShahzad avatar Nov 10 '23 18:11 UmanShahzad