[clazy] [Bug 361691] Suggestion to turn string into QStringLiteral instead of QLatin1String
Sergio Martins via KDE Bugzilla
bugzilla_noreply at kde.org
Mon Apr 18 20:51:16 BST 2016
https://bugs.kde.org/show_bug.cgi?id=361691
--- Comment #11 from Sergio Martins <smartins at 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 the assignee for the bug.
More information about the Unassigned-bugs
mailing list