From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54949 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: spam.el: exiting groups is really really slow Date: Tue, 25 Nov 2003 17:58:04 -0500 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: ding-owner@lists.math.uh.edu Message-ID: <4ny8u43vk3.fsf@lockgroove.bwh.harvard.edu> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1069801200 13440 80.91.224.253 (25 Nov 2003 23:00:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2003 23:00:00 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M3489@lists.math.uh.edu Tue Nov 25 23:59:56 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AOmA0-0006lX-00 for ; Tue, 25 Nov 2003 23:59:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AOm9S-0000My-00; Tue, 25 Nov 2003 16:59:22 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AOm9O-0000Mt-00 for ding@lists.math.uh.edu; Tue, 25 Nov 2003 16:59:18 -0600 Original-Received: from clifford.bwh.harvard.edu (clifford.bwh.harvard.edu [134.174.9.41]) by justine.libertine.org (Postfix) with ESMTP id 6974A3A0073 for ; Tue, 25 Nov 2003 16:59:17 -0600 (CST) Original-Received: from lockgroove.bwh.harvard.edu (lockgroove [134.174.9.133]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id hAPMwa712556; Tue, 25 Nov 2003 17:58:36 -0500 (EST) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id hAPMw4D11852; Tue, 25 Nov 2003 17:58:04 -0500 (EST) Original-To: David Z Maze X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Followup-To: David Z Maze , ding@gnus.org In-Reply-To: (David Z. Maze's message of "Tue, 25 Nov 2003 17:37:50 -0500") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (usg-unix-v) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54949 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54949 On Tue, 25 Nov 2003, dmaze@mit.edu wrote: > Having taken the mega spam.el patch via Gnus CVS, exiting groups is > now really really slow. I think this is because spam-stat-load and > spam-stat-save are pretty expensive operations for me (involves > writing reasonably large files over the network), and > spam-stat-register-{ham,spam}-routine insists on doing both. Why > can't the spam-stat database be kept in memory and saved when > .newsrc.eld is saved? I thought loading & saving was not a big deal but you're right, it's a pain. Plus, the hooks were already being installed properly, so what I did was totally retarded. I've taken out the save/load code, thanks! Ted