LanguageController extension cache fails for system includes without extension
Milian Wolff
mail at milianw.de
Mon Mar 21 10:49:21 UTC 2011
Esben Mose Hansen, 21.03.2011:
> On Sunday 20 March 2011 16:59:09 David Nolden wrote:
> > I see no reason to rush on this. The "looking into files" behavior is a
> > showstopper for really large projects (makes KDevelop unusable), while
> > the other thing is just an annoyance.
>
> Sorry to interrupt, but that sounds like something a simple cache could
> solve. Files are not going to change their mime types all the time, and
> checking inside the files just once (per program run?) should not be
> prohibitively expensively, especially if it is just a fallback.
we already have a cache, but David has a very specific project apparently with
tons of files without extension. Having a cache for thousands of data files is
imo a no-go and would also not prevent the initial lag due to thousands of
reads (lots of IO) to determine their mimetype.
bye
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110321/36656af4/attachment.sig>
More information about the KDevelop-devel
mailing list