Bug #23104
closed
Enhancement of t3lib_div::isFirstPartOfStr
Added by Michiel Roos over 14 years ago.
Updated about 6 years ago.
Description
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.
A speed gain from 38 - 87 % can be achieved (on this function)
(issue imported from #M15002)
Files
15002.diff (960 Bytes)
15002.diff |
|
Administrator Admin, 2010-07-05 09:37
|
|
15002_test.php (1.27 KB)
15002_test.php |
|
Administrator Admin, 2010-07-05 09:38
|
|
15002_test_v2.php (2.69 KB)
15002_test_v2.php |
|
Administrator Admin, 2010-07-05 17:28
|
|
15002_v2.diff (865 Bytes)
15002_v2.diff |
|
Administrator Admin, 2010-07-05 17:28
|
|
15002_test_v3.php (3.3 KB)
15002_test_v3.php |
|
Administrator Admin, 2010-07-05 17:41
|
|
15002_test_v5.php (2.39 KB)
15002_test_v5.php |
|
Administrator Admin, 2010-07-05 23:40
|
|
15002_v3.diff (1.02 KB)
15002_v3.diff |
|
Administrator Admin, 2010-07-05 23:40
|
|
15020_testInt_v1.diff (482 Bytes)
15020_testInt_v1.diff |
|
Administrator Admin, 2010-07-06 23:42
|
|
15020_testInt_test_v1.php (906 Bytes)
15020_testInt_test_v1.php |
|
Administrator Admin, 2010-07-06 23:42
|
|
15002_test_v6.php (2.82 KB)
15002_test_v6.php |
|
Administrator Admin, 2010-07-06 23:43
|
|
Sorry we mixed up the issues a bit. This issue is now resolved as duplicate of #21123.
- Status changed from Resolved to Closed
Also available in: Atom
PDF