Issue Task Closed

#78602Replace beginsWith method with strpos to reduce execution time

Wouter Wolters 11/07/16, 22:26 updated 10/02/18, 11:06

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

Reviews 1