Gnus development mailing list
 help / color / mirror / Atom feed
From: Danny Siu <dsiu@adobe.com>
Subject: Re: spam.el: exiting groups is really really slow
Date: Wed, 26 Nov 2003 00:24:11 -0800	[thread overview]
Message-ID: <u65h7mtas.fsf@adobe.com> (raw)
In-Reply-To: <4ny8u43vk3.fsf@lockgroove.bwh.harvard.edu>

Ted,

On related subject about spam-stat-save:

I have the following in my gnus-exit-gnus-hook
  (let ((coding-system-for-write 'emacs-mule)) (spam-stat-save))

Without that, Emacs would complain about the coding system when saving the
my spam stat file.

Now that spam-stat-save is done at spam.el level, I think it should allow
user to set whatever coding system for his spam stat file rather then
relying the default coding system.

Ted Zlatanov writes:

  Ted> 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?

  Ted> I thought loading & saving was not a big deal but you're right, it's
  Ted> a pain.  Plus, the hooks were already being installed properly, so
  Ted> what I did was totally retarded.  I've taken out the save/load code,
  Ted> thanks!

  Ted> Ted

-- 
Danny Dick-Fung Siu              mailto:dsiu@adobe.com
Advanced Technology Group @ Adobe Systems Incorporated





  reply	other threads:[~2003-11-26  8:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-25 22:37 David Z Maze
2003-11-25 22:58 ` Ted Zlatanov
2003-11-26  8:24   ` Danny Siu [this message]
     [not found]     ` <7coeuzzg6c.fsf@nature.tsukuba.ac.jp>
2003-11-26 15:41       ` Ted Zlatanov
2003-11-26 17:26         ` David Z Maze
2003-12-01 20:58           ` Ted Zlatanov
2003-12-02 11:54             ` Alex Schroeder
2003-12-02 18:34               ` Ted Zlatanov
     [not found]                 ` <7ck75dzlfd.fsf@nature.tsukuba.ac.jp>
2003-12-03 23:40                   ` Alex Schroeder
2003-12-10 23:07                 ` Ted Zlatanov
2003-12-12 10:48                   ` Alex Schroeder
2003-12-12 21:45                     ` Ted Zlatanov
2003-11-26 20:34         ` Danny Siu
2003-11-26 20:33       ` Danny Siu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u65h7mtas.fsf@adobe.com \
    --to=dsiu@adobe.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).