From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: RMAIL slows Date: Fri, 8 Apr 2005 19:40:25 +0000 (UTC) Message-ID: References: Reply-To: bob@rattlesnake.com NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1112989224 23039 80.91.229.2 (8 Apr 2005 19:40:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Apr 2005 19:40:24 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 08 21:40:19 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DJzKZ-0004YM-J3 for ged-emacs-devel@m.gmane.org; Fri, 08 Apr 2005 21:39:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJyu8-0006jj-J5 for ged-emacs-devel@m.gmane.org; Fri, 08 Apr 2005 15:12:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DJysY-0006Cw-9W for emacs-devel@gnu.org; Fri, 08 Apr 2005 15:10:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DJysW-0006CS-BW for emacs-devel@gnu.org; Fri, 08 Apr 2005 15:10:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJysW-0006CI-28 for emacs-devel@gnu.org; Fri, 08 Apr 2005 15:10:52 -0400 Original-Received: from [69.168.108.225] (helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DJzMA-0006Gn-Kv for emacs-devel@gnu.org; Fri, 08 Apr 2005 15:41:30 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Fri, 8 Apr 2005 19:40:25 +0000 (UTC) Original-To: emacs-devel@gnu.org In-reply-to: (message from Richard Stallman on Thu, 24 Mar 2005 00:19:13 -0500) 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:35777 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35777 ... , by accident, ... I .. deleted the slow instance of emacs that I was using. ... OK, I am back. [Problem: over time, a batch deletion of 50 or 100 RMAIL files takes longer and longer. This slow down only happens after an instance of Emacs has been running for several days. New instances are quick. Unfortunately, Emacs looks fine to me.] Using GDB, the bug seems to be in re_match_2_internal which is in emacs/src/regex.c on line 4828 That function is called by re_search_2 which is called by search_buffer On stepping through `re_match_2_internal', I do not see anything wrong. However, the function contains 1255 lines and I do not understand it. There may be something obvious in there which I do not see. Or maybe the problem comes from somewhere else and I am being fooled. Anyhow, I cannot figure out the bug. -- Robert J. Chassell bob@rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.rattlesnake.com http://www.teak.cc