Project

General

Profile

Actions

Task #78602

closed

Replace beginsWith method with strpos to reduce execution time

Added by Wouter Wolters about 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2016-11-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Use the native PHP method strpos instead of StringUtility::beginsWith method.
The beginsWith method runtime compared to strpos check is much higher.

For some numbers:
https://gist.github.com/psychomieze/4a9d98d67be57d264613a16813b6778d

Actions #1

Updated by Gerrit Code Review about 8 years ago

  • Status changed from In Progress to Under Review

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50534

Actions #2

Updated by Gerrit Code Review about 8 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50534

Actions #3

Updated by Wouter Wolters about 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF