Apologies for completely deleting the original post, but it wasn't serving its purpose. Given that the original problem was somewhat complicated to understand (and for various reasons I came to the conclusion that I shouldn't leave it up), let me rephrase a bit.
If you have a complicated piece of software, which is somewhat performance sensitive, how would you handle dependencies between components? Most examples I have seen are either 3 lines of pseudo, or approach it very generally.
If you have a complicated piece of software, which is somewhat performance sensitive, how would you handle dependencies between components? Most examples I have seen are either 3 lines of pseudo, or approach it very generally.