[TYPO3-core] RFC #16951: [Performance] Speed up makeInstance() by caching getClassName() results

Pierre Dudoret p.dudoret at groupe-belink.fr
Thu Feb 10 11:06:54 CET 2011


Hi,

I'm sorry to react so late on this thread, but another performance
improvement would be to make the t3lib_div::getClassName method
iterative instead of recursive.

Check the attached patch :
- No more recursivity
- Only one call to class exists per iteration instead of 2


Regards,
Pierre Dudoret AKA Popy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t3lib_div-getClassName.diff
Type: application/octet-stream
Size: 614 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110210/4944beed/attachment.obj>


More information about the TYPO3-team-core mailing list