[clazy] [Bug 361691] Suggestion to turn string into QStringLiteral instead of QLatin1String
Sergio Martins via KDE Bugzilla
bugzilla_noreply at kde.org
Sat Apr 23 01:02:45 BST 2016
https://bugs.kde.org/show_bug.cgi?id=361691
Sergio Martins <smartins at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Latest Commit| |http://commits.kde.org/claz
| |y/46cfa31f4345d55d12e969767
| |3315ddef6e0b5fc
Status|REOPENED |RESOLVED
Resolution|--- |FIXED
--- Comment #13 from Sergio Martins <smartins at kde.org> ---
Git commit 46cfa31f4345d55d12e9697673315ddef6e0b5fc by Sergio Martins.
Committed on 22/04/2016 at 23:50.
Pushed by smartins into branch 'master'.
qstring-allocations: Also use QL1S for QString::{contains, indexOf}
If the haystack is empty passing a QSL will be faster, but as soon
as the haystack gets bigger that advantage is gone.
M +2 -2 checks/qstring-allocations.cpp
M +5 -5 tests/qstring-allocations/main.cpp_fixed.cpp.expected
http://commits.kde.org/clazy/46cfa31f4345d55d12e9697673315ddef6e0b5fc
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list