diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2013-05-15 12:46:08 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-06-11 13:03:26 +0200 |
commit | 0f2a0d93589f0cd7b3603d05cd94743e133972f9 (patch) | |
tree | 7511d425b0616b5d34ae78a528e62bdd29b25921 /src/plugins/cpptools/cpppreprocessor.cpp | |
parent | f6833168ac9df9c91f1abb25c911bba3aba8446f (diff) | |
download | qt-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