darkf / darkfo

DarkFO, a post-nuclear RPG remake (of Fallout 2)
Apache License 2.0
135 stars 12 forks source link

Batch prototype JSON files #92

Closed darkf closed 7 years ago

darkf commented 7 years ago

They're a bunch of 1-2kb files and quite a few need to be loaded regardless. The entire folder is about ~2.5mb, so it might be better to just have a single master prototype JSON file. It would cut down on small HTTP requests a lot.

darkf commented 7 years ago

Related to #93 since we could store the PROs cached in the IDBCache, either individually or as a large object like imageMap. This would reduce a lot of the HTTP requests going around too (although we could just do both -- a large batch that is also cached.)

darkf commented 7 years ago

Fixed in the idbcache branch. This will be closed once that is merged.

Also, the module name needs to be renamed in setup.py and tested.

darkf commented 7 years ago

Fixed, as it's now merged.