Project

General

Profile

Actions

Feature #64848

closed

small speedup in GeneralUtility::trimExplode

Added by Alexander Opitz over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend API
Target version:
Start date:
2015-02-04
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.6
Tags:
Complexity:
easy
Sprint Focus:

Description

The trimExplode function is used very often but not with the limit parameter.

If a positive limit parameter is used then use array_splice instead of array_slice two times.

Actions

Also available in: Atom PDF