Speaking of which, BankStack is pissing me off because now I open my bank THEN tell BankStack to sort my bank (which causes AddonLoader to then load BankStack), and it tells me "you must be at the bank" because it's too stupid to check whether I'm already there when it got loaded. >:(
I still think that having the library locate and load the libraries as they were needed was the overall best strategy. It was easy for developers, because with a smart library loader like acelibrary for example - you should not use optdeps for libraries at all, it was in fact less efficient to do so because it caused unnecessary library loading. In acelibrary and librock when your addon tries to use LibImSoUseful, the loader would 1) try to find it, and 2) try to load it if at all possible, even if you disabled it (When would you purposefully disable a library that an addon you are trying to run requires? - You wouldn't, unless you were a developer, tester, or retard) I'm still irritated that something that made life easier on everyone was purposefully removed, and replaced with .... dogma. Its still funny to see addons fail to load because of some missing library that isnt really missing at all - the loader is just not too bright. Addonloader is nice - but it serves an entirely different purpose. Your addon will still fail to load if your dependancies arent enabled and loaded, BUT at least your addon will be marked load on demand, so you can just enable the libraries and load your addon without having to reload the entire ui. .... i'm sure the GC calls in rocklib were there so that someone wouldn't make a fuss about it using alot of memory when they happen to get the memory usage numbers between GC's, or better yet, the system never needs to reclaim memory since there is plenty, so it never gets collected.