D18551: clang: Create preamble only on second parse

René J.V. Bertin noreply at phabricator.kde.org
Thu Oct 10 09:26:33 BST 2019


rjvbb added a comment.


  >   I'm not suggesting to not create a preamble at all, but to create it only when we **know** it is needed.
  
  +++
  This should speed up the initial opening significantly for sessions that restore a large number of documents on start (= most of mine).
  
  It may be worth repeating my recent observation here that under some conditions a reparse will be triggered on launch of files that are not open but mentioned in one of the session's working sets that have remained in the sessionrc file. That's probably a bug (just like the "do you want to save this modified file" alert I got the other day for a document that wasn't open at all *in the editor*). But then again I never grasped what KDevelop's working sets are supposed to do (and how), so maybe it *is* relevant here.

REPOSITORY
  R32 KDevelop

REVISION DETAIL
  https://phabricator.kde.org/D18551

To: aaronpuchert, #kdevelop, mwolff, brauch, rjvbb
Cc: rjvbb, kdevelop-devel, hmitonneau, christiant, glebaccon, domson, antismap, iodelay, alexeymin, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20191010/b7216670/attachment-0001.html>


More information about the KDevelop-devel mailing list