summaryrefslogtreecommitdiffstats
path: root/tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2023-03-03 16:23:39 +0100
committerUlf Hermann <ulf.hermann@qt.io>2023-03-06 08:41:19 +0100
commit5123645831157d6e83fdc85867f778c5073d5082 (patch)
treeb32640adb75fac2299a2850ee8922e8054578c40 /tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp
parentb955648224929e07b133744742344b9a45ae9c9e (diff)
QMetaObject: Drop hand-optimization of strcmp
Comparing the first character ahead of a strcmp() call is unlikely to result in faster code than just calling strcmp() right away these days. Any compiler worth its salt should have a specialization of strcmp() that uses platform-specific tricks to produce the best performance. Change-Id: I80b74e698a6636d056b44cbef372edcb417534eb Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions