[TYPO3-core] RFC #11718: speed up function t3lib_iconWorks::skinImg()
Rupert Germann
rupi at gmx.li
Fri Aug 14 14:58:56 CEST 2009
FYI: committed attached v4 to trunk rev 5784
thanks ingo and olliver for the super fast reviews :-)
greets
rupert
Rupert Germann schrieb:
> Hi,
>
> this is a SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=11718
>
> Branches: Trunk
>
> problem:
> function t3lib_iconWorks::skinImg() wastes processing time because it is
> called hundreds of times when rendering the extended listview in the
> BackEnd. F.e. the "garbage can" icon is the same on each row, but it is
> processed again and again for each record.
>
> solution:
> cache the results of function t3lib_iconWorks::skinImg() and re-use it
> when the same icon is requested again.
>
>
> I attached an additional patch with stripped whitespaces for better reading
>
>
> greets
> rupert
>
> "There shall be no new TYPO3 version delivering content slower than its
> predecessor!"
>
More information about the TYPO3-team-core
mailing list