[TYPO3-core] Announcing TYPO3 CMS 6.1.0 Alpha1
Christian Kuhn
lolli at schwarzbu.ch
Tue Mar 19 17:50:05 CET 2013
Hey.
On 03/19/2013 05:41 PM, Alexander Opitz wrote:
> The Number of classes is not the problem, but the Number of classes with
> an alias for BC ... it is to much.
Class alias system eats some time, yes (mostly loading of the cache file).
Possible solution: Do not load it at all. Instead, register another
autoloader that is "at the end" of autoloading chain. If the class
location has not been found yet, *this* will load the alias file to see
if it can resolve the location.
Effect: No class alias loading on instances that fully rely on new class
scheme (and thus a performance improvement). The bc-layer could then
also write a deprecation log entry to see which source required the
class in question.
Regards
Christian
More information about the TYPO3-team-core
mailing list