qt5base-lts/tests/auto/corelib
Kent Hansen 8e67ef4794 Boost performance of QChar::isSpace
Make it inline; add fast checks for typical spaces;
add fallback function that uses the fastcall calling
convention.

On ia32, this change makes isSpace ~340x faster for
ascii spaces, ~170x faster for non-space ascii
characters, and ~1.3x faster for non-ascii characters.

Note that this change is NOT binary compatible.

Also add an autotest with expected results from
before the optimization, to ensure that the behavior
is the same.

Change-Id: I9438d0ad3c9ba2e80560c4bee7eed05115265798
Reviewed-on: http://codereview.qt-project.org/4905
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2011-09-15 20:39:28 +02:00
..
animation Moving Tests to new Autotest Structure 2011-08-24 10:09:19 +02:00
codecs Moving relevant tests to corelib/codecs 2011-08-26 08:49:59 +02:00
concurrent Fix autotests to build on Windows. 2011-08-31 13:26:27 +02:00
global Merge branch 'master' into refactor 2011-09-12 07:49:03 +02:00
io Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
kernel Merge branch 'refactor' 2011-09-13 08:54:45 +02:00
plugin Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
statemachine Moving relevant tests to corelib/statemachine 2011-09-01 12:54:42 +02:00
thread Moving relevant tests to corelib/thread 2011-09-01 12:54:58 +02:00
tools Boost performance of QChar::isSpace 2011-09-15 20:39:28 +02:00
xml Moving relevant tests to corelib/xml 2011-09-01 13:08:32 +02:00
corelib.pro Moving relevant tests to corelib/xml 2011-09-01 13:08:32 +02:00