diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2015-02-19 22:35:25 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-03-15 19:00:38 +0000 |
commit | cd1e045b3bbf4b3e73baf1cbd60d5131d8691fd5 (patch) | |
tree | 17bf353e7a93fdac5bbe72991cc2238591b96f29 /src/3rdparty/forkfd | |
parent | d1cd75e81af809a46fcf40cd2b39858e238a4d97 (diff) |
QString: Don't force unrolling of the tail loop if optimizing for size
This is quite good if space isn't a constraint: the unrolling ensures
faster execution and limits the number of iterations. But it's long.
Both Clang and GCC set the predefined macro __OPTIMIZE_SIZE__ if -Os is
in effect. ICC does not; MSVC is untested but there are no macros for
this effect listed in its documentation.
Change-Id: I1a800c709d3543699131ffff13c48919a9a79ec3
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/3rdparty/forkfd')
0 files changed, 0 insertions, 0 deletions