summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qdebug.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-11-17 18:18:07 -0800
committerThiago Macieira <thiago.macieira@intel.com>2014-12-03 18:09:05 +0100
commit38174159bea2dbc401fe92c30545acdf3ac4cf2f (patch)
treefdce27334108f6c9fa0e2a7360399a10823ded46 /src/corelib/io/qdebug.cpp
parentcf475b91ae8dc3f6f72b70ca624533c42be34b9e (diff)
Hoist the numeric comparisons in QVariant::{cmp,compare} further
I had already hoisted them a little in the previous commit, so that the comparisons run without conversion. This now moves the numeric compare() before the cmp() equality check, so it saves us a few more cycles. Another benefit is reduced code duplication. Change-Id: Ia96da94e169fe0b8d4e761177fc2b74e47d4daff Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
Diffstat (limited to 'src/corelib/io/qdebug.cpp')
0 files changed, 0 insertions, 0 deletions