- Checking values to be TRUE or FALSE instead of casting to boolean
- Go over all loops to see if we can move repeatedly called methods on unchanging values outside of the loop
- Go over htmlspecialchars usage
- See if we can cache the fetching of the icon code
#4 Updated by Michiel Roos over 5 years ago
I'm abandoning this issue since there are only a handfull of micro optimisations that can be had here. And the word is that we are not doing any more of those so close before release in fear of breaking stuff.
Please find attached a patch with my work so far.
Some good came of this: https://review.typo3.org/#/c/27713/
Also the heaviest hogs in the extended db list are the preview icons in a page list. Those fetch the TSConfig for each page before rendering the appropriate page+eye icon. It would be nice to disable that icon using TSConfig. But that would be a feature. So maybe this issue will be revisited for a later version of TYPO3.