On 27/06/13 16:26, Jonatan Pålsson wrote:Could you share some numbers on which is the actual speed improvement?
> To start with, I would like to submit a patch containing a new extractor
> for PNG files, which is faster than the original.
>
> The reason behind the speed increase with this extractor compared to the
> old extractor is that the new extractor seek()s out the metadata fields
> in the PNG, rather than traverse the entire file to find them, as the
> old extractor did (using libpng).
E.g. extracting 1000 random PNGs before took Xs, now it takes Ys.