https://bugs.kde.org/show_bug.cgi?id=361691

--- Comment #11 from Sergio Martins <smart...@kde.org> ---
That's cheating, that benchmark doesn't compare QLatin1String vs
QStringLiteral, well, maybe it does, for 0.1 % of the code, the remaining 99.9%
it's running the common implementation between both contains() overloads.

For me, both runs give me the same time, can you reproduce that consistently ?

I don't think it's bad to optimize the small string case if it doesn't make the
big string worse.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to