[TYPO3-core] RFC #16685: Bug: bad performance - not using table index while deleting cached imagesize [performance]
Vladimir Podkovanov
admin at sitesfactory.ru
Sun Jan 16 12:02:37 CET 2011
Hi,
On 16.01.2011 11:34, Jigal van Hemert wrote:
> 1. the cached dimensions for the md5 of the filepath are retrieved
> 2. for the first element of the result set is checked if it has the same
> contents (using md5_file)
> 3. if it does not have the same contents the record(s) with the same
> file contents (this is not the record we've just tested!) are deleted.
Yep, you right, deleting by md5hash affects all images with the same
content, so it is not just performance bug.
--
-rgds-
Vladimir
More information about the TYPO3-team-core
mailing list