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

Dmitry Dulepov [typo3] dmitry at typo3.org
Tue Nov 20 21:11:56 CET 2007


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.

> Than the ctrl could also be moved to the new-file

It is useless for sysext/cms as those tables are always used. They should not use dynamic files at all. Dynamic files are used to save memory for tables that are not used on every table. The file you  want to split has tables that are used on every page.

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs


More information about the TYPO3-team-core mailing list