[TYPO3-core] RFC #12128: Performance improvement in t3lib_div::get_dirs()

Dan Osipov dosipov at phillyburbs.com
Wed Oct 7 15:11:14 CEST 2009


A lot, in the DAM! The reason for this patch is I was looking for 
performance improvements in the file tree that is rendered, and this 
boost the speed significantly.

Dan Osipov
Calkins Media
http://danosipov.com/blog/

Martin Kutschker wrote:
> Peter Foerger schrieb:
>> Martin Kutschker schrieb:
>>
>>> BTW, how often is t3lib_div::get_dirs() called anyway? 
>> Docs say 11 times, as of 22/2 2003 !?
> 
> Not occurences in the code, but executions! How often is this function called in a typical page hit?
> 
>> Hardly, but I consider a cleaner and faster method a boost/improvement
>> anyways.
> 
> Cleaner is always better. But improvements should only target with bug impact. Optimzing a function
> that's called only once if ever in a single web request is a waste of time.
> 
> Masi


More information about the TYPO3-team-core mailing list