[TYPO3-core] RFC: No-brainer #15196: Speedup t3lib_cache_backend_DbBackend::has($entryIdentifier)

Christian Kuhn lolli at schwarzbu.ch
Wed Jul 21 17:22:12 CEST 2010


Hey :)

On 07/21/2010 04:23 PM, Michael Knabe wrote:
> Branches: trunk

trunk, 4.4, 4.3

> t3lib_cache_backend_DbBackend::has($entryIdentifier) could be 50% faster
> using sql_num_rows instead of getRows/count

+1 on reading and testing if ressource is freed afterwards, see attached v2.

Will commit in 24h if nobody objects.

Thanks
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15196_v2.diff
Type: text/x-patch
Size: 941 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100721/9f7e670a/attachment.bin>


More information about the TYPO3-team-core mailing list