From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard G Riley Newsgroups: gmane.emacs.help Subject: Re: How to use etags-select Date: Tue, 04 Sep 2007 18:16:09 +0200 Message-ID: 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 1188924075 26813 80.91.229.12 (4 Sep 2007 16:41:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Sep 2007 16:41:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 04 18:41:15 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 1ISbSf-0005ip-82 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Sep 2007 18:41:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISbSd-0004OO-NB for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Sep 2007 12:41:07 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 42 Original-X-Trace: individual.net 0czdU1SAXQztrlH5016fYAQrNQ09uvqKGF3egEHcpbvEM+PNmJ X-Orig-Path: news.individual.net!news Cancel-Lock: sha1:aNCxNSQKLFpQOAYMCW8q2smbpz4= sha1:Tft4CEMHIrTjwofKyw811ubChpE= User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50.6 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:151680 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:47204 Archived-At: Scott Frazer writes: > 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 I can confirm. Very fast indeed. etags-select is a nice addition - thank you very much.