D18551: clang: Create preamble only on second parse
René J.V. Bertin <noreply-Buy57tU0AsCGxO/ty/[email protected]>
| Newsgroups | gmane.comp.kde.devel.kdevelop |
|---|---|
| Message-ID | <[email protected]> |
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