I have one question/concern regarding this new push towards using hooks to modularize MODs in 3.1 and beyond...
How will this impact memory usage, and has this been considered?
Among the few MODs I have already installed that have switched over to using the Hook system instead of the traditional core file hacking method, I have noticed those MODs increase the memory usage - board wide! It appears that hooked MODs will have their code/functions loaded on every page of a forum, even when they are not needed or used on that page.
For example, I have a MOD that only acts on the viewtopic page. When viewing another page, say the board index, the memory usage goes up about 60kb when using the hooked version as opposed to the older MOD method. Of course on the viewtopic page, the memory usages are identical, because that is where the MOD is actually needed.
So...if people add lots of MODs to their board, and they are all hooked, isn't it possible that memory usage can get out of control, since the hook system appears to load the code/functions (even though they may not be needed to execute) on every page, rather than just where the MOD is actually needed?