Closed JohnnyRS closed 4 years ago
Will be added once I get all the features from the original over.
Database class using indexeddb has been added. Panda's will be saved with this in the future. Hoping to use this instead of keeping everything in memory.
First test of adding panda's to the indexeddb was successful. Now to test using the database for grabbing data and see how fast it is so I can figure out a good way of lowering memory use.
Test of adding panda's from indexeddb was successful which means it can save and load panda's now. The speed test for loading data from database seemed fast enough so most panda information will be in database instead of memory saving lot of space compared to the original pandacrazy.
Decided to put all panda information in the database and loaded into memory when collecting or editing. So the only stuff left in memory are unique keys to load up data from database and info displayed in the UI cards. Hoping this will save a lot of memory.
Panda's are being saved correctly. Data is loaded only when needed. Will keep watching memory usage and if it slows down program speed too much.
Can't save panda's that are added.