valters-tomsons / Spectabis

A modern PCSX2 Frontend.
https://spectabis.github.io/
GNU General Public License v3.0
114 stars 18 forks source link

[Suggestion] Build Cache File for faster Startup #26

Open RinMaru opened 6 years ago

RinMaru commented 6 years ago

Im not sure how this would work or if its even implemented but would making a Cache with a DB of all games in the users library decrease the time it takes to start the program? Im not sure if the program does this already or just looks in the directory but it does kinda take a bit.

If it is scanning the directory each boot up why not just make a Database of the games and load from that instead? Plus if something new is added a simple refresh button to rescan would suffice, and it would only need to look for settings and such if the game is accessed.

valters-tomsons commented 6 years ago

Caching is not an issue.

The proper solution would be to load library asynchronously, but I doubt it's viable at this point. I'll see what I can do about startup times, but don't expect any wonders anytime soon.