From: Bill White <billw@wolfram.com>
Subject: Re: spam.el is a bit aggressive loading/saving spam-stat data
Date: Fri, 07 Mar 2003 09:13:23 -0600 [thread overview]
Message-ID: <ruoadg7nrak.fsf@billwlx.wolfram.com> (raw)
In-Reply-To: <u7kbb5jjq.fsf@axis.com> (Niklas Morberg's message of "Fri, 07 Mar 2003 15:38:01 +0100")
On Fri Mar 07 2003 at 08:38, Niklas Morberg <niklas.morberg@axis.com> said:
> Bill White <billw@wolfram.com> writes:
>
>> It takes roughly 20-30 seconds to load my spam-stat file.
>> Is this a reasonable duration, or am I doing something
>> wrong?
>
> It takes ~5 seconds for me. But that does not necessarily mean that
> there's anything wrong with your setup. I guess the more mails you
> receive and use for training, the bigger the spam-stat file gets.
I get around 100-200 spams a day, which, amazingly, is entirely
manageable with the new spam-aware gnus.
Meanwhile,
File size: (nth 7 (file-attributes spam-stat-file)) => 928737
Number of words: (hash-table-count spam-stat) => 60066
Reduce table size: (spam-stat-reduce-size)
Save table: (spam-stat-save)
File size: (nth 7 (file-attributes spam-stat-file)) => 261781
Number of words: (hash-table-count spam-stat) => 17144
1 - Perhaps the table size reduction could be automated in a hook at some
daily gnus event (I quit gnus each day when I leave the office, so
that would be a reasonable time for me). I'll try this today:
(add-hook 'gnus-exit-gnus-hook 'spam-stat-reduce-size 'spam-stat-save)
2 - Would it help to byte-compile spam-stat-file?
Cheers -
bw
--
Bill White . billw@wolfram.com . http://members.wri.com/billw
"No ma'am, we're musicians."
next prev parent reply other threads:[~2003-03-07 15:13 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-20 18:22 David Z Maze
2003-02-21 8:16 ` Niklas Morberg
2003-02-21 15:14 ` Ted Zlatanov
2003-02-21 20:25 ` David Z Maze
2003-02-21 20:49 ` Ted Zlatanov
2003-02-21 21:06 ` David Z Maze
2003-02-21 23:58 ` Alex Schroeder
2003-02-24 21:53 ` Ted Zlatanov
2003-02-26 2:23 ` David Z Maze
2003-02-26 21:15 ` Ted Zlatanov
2003-03-01 13:26 ` David Z Maze
2003-03-01 15:08 ` Ted Zlatanov
2003-03-02 23:49 ` David Z Maze
2003-03-06 13:22 ` Niklas Morberg
2003-03-06 15:39 ` Ted Zlatanov
2003-03-07 14:27 ` Bill White
2003-03-07 14:38 ` Niklas Morberg
2003-03-07 15:13 ` Bill White [this message]
2003-03-10 8:05 ` Niklas Morberg
2003-03-11 12:53 ` Bill White
2003-03-07 14:55 ` Ted Zlatanov
2003-03-07 22:55 ` A.J. Rossini
2003-03-08 0:49 ` Alex Schroeder
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=ruoadg7nrak.fsf@billwlx.wolfram.com \
--to=billw@wolfram.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).