summaryrefslogtreecommitdiffstats
path: root/mkspecs/macx-watchos-clang
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2017-12-24 14:13:39 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2018-01-06 05:17:28 +0000
commitb739b3a0402e71041d99fa138630b806059b19b2 (patch)
treea5794029ee5051880b35f06604e4341d5e3f2b94 /mkspecs/macx-watchos-clang
parent1e75dcf2518e37a7b83d006a4e002f972615b43b (diff)
QSqlRecord: (re)speedup indexOf(const QString& name)
While adding the possibility to access values for QSqlRecord with decorated field names (table.field), some string-allocations were added which created a remarkable slowdown. Replace the QString allocations with QStringRef avoids those allocations and restores the speed for normal operations (apart from on QString::indexOf() call and some integer comparisons) Task-number: QTBUG-65226 Change-Id: I9e458523891421abce9e4a7ed931fec000dcbe76 Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'mkspecs/macx-watchos-clang')
0 files changed, 0 insertions, 0 deletions