[TYPO3-core] Speed improvements in ClassLoader

Alexander Opitz alexander.opitz at netresearch.de
Wed Apr 3 14:02:07 CEST 2013


Hi Tom,

not nice that problem. :-(

We can discuss it on Friday in Wiesbaden. :-)

Greetings Alex//

Thomas Maroschik wrote:

> Hi Alex,
> 
> Christian and I figured out that our both ideas regarding the speed
> improvement failed because typehints and instanceof don't trigger the
> class loader. This means that the class alias has to be established
> directly after loading the class file.
> 
> I tried also the approach with the alias map fully in a file based cache
> backend with symlinks. There is close to no benefit in this method as
> you're trading loading an array into memory once against many small file
> operations. While this may pay off when loading less class classes it
> will have a negative impact when loading many.
> 
> Greetz,
> 
> Tom


More information about the TYPO3-team-core mailing list