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

Martin Kutschker masi-no at spam-typo3.org
Wed Oct 7 08:23:46 CEST 2009


Peter Foerger schrieb:
> 
> as this RFC is about performance I have tested the both of them.
> scandir() seems to be a bit faster ~2% than readdir(), in the scope of
> t3lib_div::getDirs($path) that is. Both approaches are ~10% faster than
> what we have by now.

BTW, how often is t3lib_div::get_dirs() called anyway? Is the *overall* performance boost (???)
measurable at all?

Masi


More information about the TYPO3-team-core mailing list