07.05.2009, 23:02
Currently DFS can take several seconds to start if the DB contains a lot of assigned logos (on my computer, over about 300). Obviously this is a problem for DBs that contain a lot of (club) teams with only a handful of games each, such as the UEFA Cup or Copa Libertadores.
The startup delay seems to be caused by the need to generate the 16x16 versions of all logos each time. Why not store them on disk as bmp in the same folder as the 144x144 versions and recreate them when a new logo is assigned in the Mannschaften verwalten screen? That would save some CPU usage on startup.
Even better, why not load only the logos used to display the current season? The other ones could be loaded in the background as necessary, when changing to another season, or automatically (with a button) in Mannschaften verwalten.
The startup delay seems to be caused by the need to generate the 16x16 versions of all logos each time. Why not store them on disk as bmp in the same folder as the 144x144 versions and recreate them when a new logo is assigned in the Mannschaften verwalten screen? That would save some CPU usage on startup.
Even better, why not load only the logos used to display the current season? The other ones could be loaded in the background as necessary, when changing to another season, or automatically (with a button) in Mannschaften verwalten.