The current module loading process basically categorizes modules into a few buckets such as preload, load, don't load, etc.
Because of complex relationships, this is often not sufficient to capture dependency chains, requiring on-the-fly loading of modules we didn't anticipating having needed to load already. It would be better to have a linked list for modules that will be loaded, which can be ordered according to these dependencies, since this will better handle nested chains. It will also allow for capturing "load priority orders".
If/when this is implemented, the change should be benchmarked - in particular, we should measure (and log) the amount of time it takes for the BBS to startup, and test in valgrind, and then compare with after this change.
You must be