unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Why code completion using CEDET in Emacs so slow?
@ 2011-10-12 14:05 Judeau
  2011-10-12 17:42 ` David Engster
  0 siblings, 1 reply; 8+ messages in thread
From: Judeau @ 2011-10-12 14:05 UTC (permalink / raw)
  To: Help-gnu-emacs


I recently try KDevelop. It looks up for symbols (variables, function names,
class, struct...) much faster (instantly) than semantic-complete-self-insert
or M-Ret. Using M-Ret is faster, but it does not have nice format like other
IDEs, such as From nil > . In emacs, I must wait for at least ~1 sec, in
many cases, waiting for CEDET to look up all the header files in an included
header files, which takes very long.

I used auto complete clang, but it seems to have no speed improvement. Why
is that :( ? I love Emacs and all, and been using it for my C/C++ for almost
a year until I discover KDevelop. Using Emacs means code completion should
be trivial and optional? I really love this Emacs as an editor and as an
"IDE". I just want to find a way to improve this.

I notice that when performing auto complete, my disk got accessed a lot. Is
there a way to make the included files stored in memory for faster look up?
Or should CEDET implement this way?

-- 
View this message in context: http://old.nabble.com/Why-code-completion-using-CEDET-in-Emacs-so-slow--tp32638310p32638310.html
Sent from the Emacs - Help mailing list archive at Nabble.com.




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-10-13 16:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-12 14:05 Why code completion using CEDET in Emacs so slow? Judeau
2011-10-12 17:42 ` David Engster
2011-10-12 18:08   ` Judeau
2011-10-12 18:25     ` David Engster
2011-10-12 18:54       ` Judeau
2011-10-12 19:15         ` David Engster
2011-10-13  3:57           ` Judeau
2011-10-13 16:02             ` David Engster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).