[TYPO3-core] RFC: Splitting CMS-TCA into several files (clean up)

Malte Jansen mail at maltejansen.de
Tue Nov 20 22:29:35 CET 2007


Dmitry Dulepov [typo3] schrieb:
> Malte Jansen wrote:
>> Did you test something like this?
> 
> Yes. I made lots of various tests in an attempt to get extra 50-100 
> milliseconds.
> 
>> include_once(t3lib_extMgm::extPath($_EXTKEY).'tca/tt_content.php');
>>
>> That shouldn't be slower...
> 
> Yes, it does. Firsts, *_once functions are slower then their non-"once" 
> counterparts. Secondly, for unknown reason two arrays are parsed slowers 
> than a single array with all the same fields.
> 

But not there are three files with several arrays, it would change much.
We could use include if it's faster than *_once.


More information about the TYPO3-team-core mailing list