Issue Bug Closed

#23104Enhancement of t3lib_div::isFirstPartOfStr

Michiel Roos 07/05/10, 09:36 updated 10/02/18, 12:23

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.