proem/proem — Issue #19: Autoloader optimisations.
Author: trq
Created: 2012-01-06 10:55:57+00:00
State: open
Labels: Candy

Probably just a micro optimisation here but eventually it might be worth trying to bypass some of the extra wrk the autoloader needs to do in regards to object overloading.

I'm proposing you would also need to register overridden classes separately with the autoloader. This way, if there not registered we can just go straight to the \Proem\Api namespace and save on the overhead of search \Proem for something that isn't going to be there.