Project

General

Profile

Actions

Task #54265

closed

Epic #55070: Workpackages

Epic #55065: WP: Overall System Performance (Backend and Frontend)

Story #55078: Optimize PHP code performance in TYPO3 methods

Use (int) instead of intval() or (integer)

Added by Jo Hasenau over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Performance
Target version:
Start date:
2013-12-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Sprint Focus:

Description

Description

When testing for the identity of integers using the intval() function has worse performance than a type cast with (int). (3-5x)

Replace all ~1600 calls to intval() with a type cast.


Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Task #54085: Replace all strcmp() calls with ===Closed2013-11-29

Actions
Related to TYPO3 Core - Bug #55753: pagetype is not respected in pagecacheClosed2014-02-07

Actions
Related to TYPO3 Core - Bug #61699: Workspace Preview not working with lockSSL=3ClosedOliver Hader2014-09-18

Actions
Precedes TYPO3 Core - Bug #55706: Different behavior of levelmedia in TYPO3 6.2Closed2014-02-05

Actions
Actions

Also available in: Atom PDF