If you have a lot of banks and bank roots, this can dramatically slow down
Yoshimi's startup. These days we grab quite a lot of info from banked
instruments to make *running* instrument management faster, and all this has to
be collected at startup. At the same time we check that the banks are actually
there and their instruments, deleting entries for missing ones, then adding in
any new ones (if there's space in the map), all of which slows things down.

I'm wondering if it would be practical to save the entire banks map. When
loading we would no longer need to check through every instrument for its
details. We'd still need to scan to remove missing entries and add new ones,
but only the new ones would need a detailed examination.

Loading external instruments (which would only happen one at a time) would need
a full check. Once loaded, or when creating a new instruments, saving to a bank
is already quick as the details are already complete.

Importing a complete bank from an external source would be a bit slow still
(although it's actually not too bad).

Finally, I'd be inclined to have the setup look for the new structure, but still
be able to fall back to the old one for compatibility - would we need to devise
some form of backward compatibility though?

Thoughts welcome.

-- 
Will J Godfrey
https://willgodfrey.bandcamp.com/
http://yoshimi.github.io
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.


_______________________________________________
Yoshimi-devel mailing list
Yoshimi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/yoshimi-devel

Reply via email to