Actions
Bug #23247
closedSpeedup t3lib_cache_backend_DbBackend::has($entryIdentifier)
Start date:
2010-07-21
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Currently t3lib_cache_backend_DbBackend::has($entryIdentifier) gets the rows from SQL and runs php-count on the result set.
If you replace that with sql_num_rows that method becomes 1.5 times as fast in my measurements.
Although this is not a big issue as long as you don't call has() very often I think we should patch that.
(issue imported from #M15196)
Files
Actions