From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rafal Kurcz Newsgroups: gmane.emacs.help Subject: Re: How to use etags-select Date: Wed, 05 Sep 2007 01:27:29 -0700 Organization: http://groups.google.com Message-ID: <1188980849.574940.72080@o80g2000hse.googlegroups.com> References: <1185011823.491178.262070@d55g2000hsg.googlegroups.com> <1185197038.360649@sj-nntpcache-3.cisco.com> <1185265027.418651.315530@m3g2000hsh.googlegroups.com> <1185296113.195452@sj-nntpcache-3.cisco.com> <1185550332.397562.17110@b79g2000hse.googlegroups.com> <1185561317.788809@sj-nntpcache-2.cisco.com> <1188648321.765941.18960@y42g2000hsy.googlegroups.com> <1188912686.245407@sj-nntpcache-2.cisco.com> <1188921369.769489@sj-nntpcache-3.cisco.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1188981738 27008 80.91.229.12 (5 Sep 2007 08:42:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Sep 2007 08:42:18 +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 Sep 05 10:42:18 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ISqSl-0003Zv-5s for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Sep 2007 10:42:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISqSj-0006vG-Fb for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Sep 2007 04:42:13 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!o80g2000hse.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 42 Original-NNTP-Posting-Host: 83.14.252.50 Original-X-Trace: posting.google.com 1188980849 13022 127.0.0.1 (5 Sep 2007 08:27:29 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 5 Sep 2007 08:27:29 +0000 (UTC) In-Reply-To: <1188921369.769489@sj-nntpcache-3.cisco.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20070216,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 cns-gdn.emea.cpwr.corp:8001 (squid/2.5.STABLE6), 1.0 cns-gdn-ext.emea.cpwr.corp:3128 (squid/2.5.STABLE6) Complaints-To: groups-abuse@google.com Injection-Info: o80g2000hse.googlegroups.com; posting-host=83.14.252.50; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:151703 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47228 Archived-At: On 4 Wrz, 17:56, Scott Frazer wrote: > Scott Frazer wrote: > > Rafal Kurcz wrote: > > >> Great thanks for help Scott. > >> Sorry for bothering you again but I think I found another weak point > >> of etags-select. > >> I started using it with the linux kernel's latest source tree. > >> I generated the TAGS file: > >> exuberant-ctags -R -e > > >> The size of TAGS file is 54 MB. > > >> Locating the tag with: > >> etags-select-find-tag-at-point > > >> takes about 10s on Pentium 4 2.4 GHz. > >> It takes about 15s when loading the TAGS table for the first time. > > >> Using the M-. takes about 0.5 s that is quite acceptable > > >> I did the test with Vim. > >> I generated the tags table with: > >> exuberant-ctags -R > > >> The size of tags file is 74 MB (37% larger than emacs TAGS table). > >> Vim is extremely fast when locating all the tags and showing the > >> choice list. > >> It takes much less than 0.5s. > > >> Do you have any idea why etags-select works so slowly ? > > I changed the search algorithm, and it should be quicker now. I tried using > it on the kernel source like you did and it was a LOT faster for me. > > Scott Now it works very fast. I did the same test as above on the same machine - now I get the list of tags immediately. Great thanks for help Scott.