cache results of feature search
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>
Mon, 3 Jun 2013 17:08:10 +0000 (19:08 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 26 Aug 2013 21:54:43 +0000 (23:54 +0200)
commit4bc46c211bb4c1462e86980a1451b7ebc99bb583
tree43b7371e6e11151d1453fffbe7589ae3265b60cd
parentfd5e84cbf19ee2a319163df2652164c3ad492e54
cache results of feature search

looking up the same files in the same locations over and over again
is a rather significant waste. in particular, looking up the CONFIG
flags that don't correspond with features has a measurable impact on qt
creator's project loading time.

Task-number: QTCREATORBUG-9154
Change-Id: Ibae3d8b7797e706a6416a7d45c77734ab1281b51
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
(cherry picked from qtcreator/fa27cd79e05aed4ebd16d5648480cc7d48fefd43)
src/linguist/shared/qmakeevaluator.cpp
src/linguist/shared/qmakeevaluator.h