[TYPO3-core] RFC #11746: speed up function t3lib_BEfunc::isRecordLocked()

Rupert Germann rupi at gmx.li
Wed Aug 19 12:45:43 CEST 2009


FYI: committed to trunk rev 5803

I'm currently preparing a cgl-compatibility follow-up, which also will 
take Steffens and Olivers suggestions into account.


rupert


Rupert Germann schrieb:
> Hi,
> 
> this is a SVN patch request.
> 
> Type: performance improvement
> 
> Problem:
> function t3lib_BEfunc::isRecordLocked() sets only an entry in its local 
> cache when there are locked records. If this is not the case the sql 
> query is executed again and again for each record shown in the list.
> 
> 
> Solution:
> cache empty results, too
> 
> 
> greets
> rupert
> 
> 
> "There shall be no new TYPO3 version delivering content slower than its 
> predecessor!"
> 
> 
> 
> 


More information about the TYPO3-team-core mailing list