Actions
Task #82416
closedChange `get_class($this)` calls to `static::class`
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-09-09
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.0
Tags:
performance
Complexity:
easy
Sprint Focus:
On Location Sprint
Description
Considering this blog post using static::class
instead of get_class($this)
is 1/3 faster.
At the moment writing these lines, a basic search in TYPO3 core gave me 77 results; they should probably all be replaced.
Updated by Gerrit Code Review about 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54069
Updated by Romain Canon about 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d7ce554fed4bce46b2bb1a1d5c128adab81d0e1e.
Actions