[TYPO3-core] RFC #15002: Enhancement of t3lib_div::isFirstPartOfStr
Michiel Roos [netcreators]
michiel at netcreators.com
Mon Jul 5 09:48:21 CEST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This is an SVN patch request.
Type: Speed enhancement
Bugtracker references: http://bugs.typo3.org/view.php?id=15002
Branches:
- - trunk
Problem:
t3lib_div::isFirstPartOfStr can be optimized by making use of the PHP
version of isFirstPartOfStr called: strpos.
This function is called quite a lot. 513 times for rendering an average
page tree in the BE for example.
Solution:
t3lib_div::isFirstPartOfStr can be optimized by making use of the PHP
version of isFirstPartOfStr called: strpos.
A speed gain from 38 - 87 % can be achieved (on this function) - please test
- --
Met vriendelijke groet / Warm regards,
Michiel Roos
Chief Technical Officer
Netcreators: Open Source, Open Minds, Open People
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkwxjjoACgkQLMRd8N/xuixSHwCfcjWqjzAbSd8r7URqL19R1BHh
0RIAoILoSJ9gv/UHFeQMCkoXfRByvd8H
=fioX
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15002.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100705/d04b7673/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15002_test.php
Type: text/php
Size: 1305 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100705/d04b7673/attachment.bin>
More information about the TYPO3-team-core
mailing list