summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-06-08 06:46:32 (GMT)
committerhjk <qtc-committer@nokia.com>2009-06-08 07:18:09 (GMT)
commitd3bda146c4076dce3e260b4ef47f6bbc2d191b25 (patch)
treee26196c8b0cd5a28082d380675ee5272234b9635 /tools/qdoc3
parent38a5b31a8ae87f5e833d7f4383af9dc4592bf122 (diff)
downloadQt-d3bda146c4076dce3e260b4ef47f6bbc2d191b25.zip
Qt-d3bda146c4076dce3e260b4ef47f6bbc2d191b25.tar.gz
Qt-d3bda146c4076dce3e260b4ef47f6bbc2d191b25.tar.bz2
Use QT_USE_FAST_OPERATOR_PLUS and QT_USE_FAST_CONCATENATION in qdoc3.
Reduces the number of qmalloc calls by 9% and reduces the instruction count as reported by valgrind by 2% in a release build.
Diffstat (limited to 'tools/qdoc3')
-rw-r--r--tools/qdoc3/qdoc3.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qdoc3/qdoc3.pro b/tools/qdoc3/qdoc3.pro
index ead7b88..5438e5f 100644
--- a/tools/qdoc3/qdoc3.pro
+++ b/tools/qdoc3/qdoc3.pro
@@ -1,6 +1,8 @@
DEFINES += QDOC2_COMPAT
DEFINES += QT_NO_CAST_TO_ASCII
#DEFINES += QT_NO_CAST_FROM_ASCII
+DEFINES += QT_USE_FAST_OPERATOR_PLUS
+DEFINES += QT_USE_FAST_CONCATENATION
QT = core xml
CONFIG += console