From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: RMAIL slows Date: Sat, 09 Apr 2005 01:53:17 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1113005722 4200 80.91.229.2 (9 Apr 2005 00:15:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Apr 2005 00:15:22 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 09 02:15:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DK3cw-0002Lc-Mb for ged-emacs-devel@m.gmane.org; Sat, 09 Apr 2005 02:15:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DK3CY-0000NE-1t for ged-emacs-devel@m.gmane.org; Fri, 08 Apr 2005 19:47:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DK38W-0007I4-1F for emacs-devel@gnu.org; Fri, 08 Apr 2005 19:43:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DK38J-0007De-Hb for emacs-devel@gnu.org; Fri, 08 Apr 2005 19:43:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DK38I-00073L-0p for emacs-devel@gnu.org; Fri, 08 Apr 2005 19:43:26 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DK3J2-00013n-4j for emacs-devel@gnu.org; Fri, 08 Apr 2005 19:54:32 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id DA8B026281F; Sat, 9 Apr 2005 01:53:31 +0200 (CEST) Original-To: bob@rattlesnake.com In-Reply-To: (Stefan Monnier's message of "Fri, 08 Apr 2005 18:57:23 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:35785 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35785 Stefan Monnier writes: > ... look up the backtrace to see the value of the `string' argument > to search_buffer, then do "print string" and then "xstring" to see the > actual string). Or just do "pp string". > Another good thing to do is to say "finish" to let the code run until the > end of re_match_2_internal. If it's immediate it means the problem is maybe > not in the time taken in each call to re_match_2_internal, but rather in the > number of calls. The "xbacktrace" command may also give you some ideas in which lisp function the loop may be. You can interrupt emacs several times and see if all calls to regexp happens in the same sequence of function calls. -- Kim F. Storm http://www.cua.dk