Slow MP3 tag parsing/ByteVector::replace() performance

Scott Wheeler wheeler at
Mon Aug 1 14:06:00 UTC 2011

On Aug 1, 2011, at 3:20 PM, Mathias Panzenböck wrote:

> Ah, I forgot a detach() call when I do in place replacement in the case where pattern.size() == with.size(). Also I optimized the case if the pattern does not occur in the ByteVector and I fixed indentation.
> Could you test my patch again? Maybe this improves performance in your test. :)

I'd probably be useful to have one of these files (e.g. mailed to Lucas and myself) so that they can be hit with KCacheGrind...


More information about the taglib-devel mailing list