Cache defines/includes on-demand.

Review Request #122145 - Created Jan. 19, 2015 and submitted

Information
Milian Wolff
kdevelop
4a40f66...
Reviewers
kdevelop
skalinichev
This improves startup speed as we can load the defines/includes
plugin much quicker now. Furthermore, we only initialize the
includes/defines for the compiler(s) that are actually used,
not all available ones, thus decreasing memory consumption.

Before:
Successfully loaded plugin "KDevDefinesAndIncludesManager" from
...kdevplatform/21/kdevdefinesandincludesmanager.so" - took: 200 ms

After:
Successfully loaded plugin "KDevDefinesAndIncludesManager" from
...kdevplatform/21/kdevdefinesandincludesmanager.so" - took: 20 ms

  
Kevin Funk
Milian Wolff
Review request changed

Status: Closed (submitted)

Loading...