diff options
author | Jędrzej Nowacki <jedrzej.nowacki@digia.com> | 2013-04-04 16:04:49 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-21 18:39:13 +0200 |
commit | 8969f57b6abef31d2e27500742dffa5498e38a46 (patch) | |
tree | b4301de4637111cfb1d9826fd638c35f693f890b /src/tools/qdoc/generator.cpp | |
parent | cab86ec3edda4c64b816b3a3f84aebd103093c67 (diff) |
Improve qdoc performance.
Valgrind blamed CppCodeMarker::addMarkUp as slow, the patch improves
situation by ~12%
Use of QStringLiterals instead of const char* reduce amount of
allocations on startup.
Change-Id: I8737e02785506bba7e23868ab3952eab09d543d2
Reviewed-by: Martin Smith <martin.smith@digia.com>
Diffstat (limited to 'src/tools/qdoc/generator.cpp')
-rw-r--r-- | src/tools/qdoc/generator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/qdoc/generator.cpp b/src/tools/qdoc/generator.cpp index cfea6235d3..0d4e563836 100644 --- a/src/tools/qdoc/generator.cpp +++ b/src/tools/qdoc/generator.cpp @@ -1643,7 +1643,7 @@ void Generator::initialize(const Config &config) } else outputPrefixes[QLatin1String("QML")] = QLatin1String("qml-"); - noLinkErrors_ = config.getBool(QLatin1String(CONFIG_NOLINKERRORS)); + noLinkErrors_ = config.getBool(CONFIG_NOLINKERRORS); } /*! |