summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpppreprocessor.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2013-05-15 12:46:08 +0200
committerNikolai Kosjar <nikolai.kosjar@digia.com>2013-06-11 13:03:26 +0200
commit0f2a0d93589f0cd7b3603d05cd94743e133972f9 (patch)
tree7511d425b0616b5d34ae78a528e62bdd29b25921 /src/plugins/cpptools/cpppreprocessor.cpp
parentf6833168ac9df9c91f1abb25c911bba3aba8446f (diff)
downloadqt-creator-0f2a0d93589f0cd7b3603d05cd94743e133972f9.tar.gz
C++: cache results of linksForIdentifier in HelpItem.
The method linksForIdentifier was called at least thrice when generating a single valid tooltip in the C++ editor. Now the cached, and the cache can be "initialised" during construction. This reduces the time spent for creating a tooltip by 30%. Task-number: QTCREATORBUG-8970 Change-Id: I5130b769e977c6ffced1a87715831386ef0d5319 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cpppreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions