From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.help Subject: Re: Why code completion using CEDET in Emacs so slow? Date: Wed, 12 Oct 2011 20:25:43 +0200 Message-ID: <87vcruqd7c.fsf@arcor.de> References: <32638310.post@talk.nabble.com> <87zkh6qf7j.fsf@arcor.de> <32640322.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318443969 7836 80.91.229.12 (12 Oct 2011 18:26:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2011 18:26:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 12 20:26:04 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RE3VD-0008LE-8I for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Oct 2011 20:26:03 +0200 Original-Received: from localhost ([::1]:32819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE3VC-0003UR-4Q for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Oct 2011 14:26:02 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE3V8-0003U8-Bv for help-gnu-emacs@gnu.org; Wed, 12 Oct 2011 14:25:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RE3V7-000495-7C for help-gnu-emacs@gnu.org; Wed, 12 Oct 2011 14:25:58 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:57589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE3V7-00048z-2B for help-gnu-emacs@gnu.org; Wed, 12 Oct 2011 14:25:57 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RE3V5-0008FN-49 for help-gnu-emacs@gnu.org; Wed, 12 Oct 2011 20:25:55 +0200 Original-Received: from dslc-082-082-175-125.pools.arcor-ip.net ([82.82.175.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Oct 2011 20:25:55 +0200 Original-Received: from deng by dslc-082-082-175-125.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Oct 2011 20:25:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 21 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: dslc-082-082-175-125.pools.arcor-ip.net User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Mail-Copies-To: never Cancel-Lock: sha1:j6M0561onXtiF/qWhDfuoaPb8RU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82533 Archived-At: Judeau writes: > I want to use the boost header files. Every time I include a new header file > in the boost library, it takes pretty long to parse. Yes, boost is a huge library with very complicated constructs, so parsing takes time. > I used boost asio, and it always takes a few seconds for the first look up. > The second look up (means cached) is a brief. delay. > Meanwhile, using Eclipse CDT or KDevelop, after I include the header > file such as boost/asio.hpp , the symbols in the header file (and > related files in the header) are automatically available for look up > instantly without any delay (just like the usual feeling when > programming with Java in an IDE). Yes. CEDET is written in Emacs Lisp, so it will always be slower than those programs. Still, it should always be usable. Could you provide an example file using boost::asio which demonstrates the slow completion? -David