From: Jan Vroonhof <vroonhof@math.ethz.ch>
Subject: Re: Not running expiry when I exit a group
Date: 04 Apr 1997 21:07:52 +0200 [thread overview]
Message-ID: <bypvwaip2v.fsf@math.ethz.ch> (raw)
In-Reply-To: Jan Vroonhof's message of 04 Apr 1997 15:09:56 +0200
Jan Vroonhof <vroonhof@math.ethz.ch> writes:
> as the the other ones. Why is it so slow anyway? Even under elisp a
> few thousand compares should be doable in a few secconds.
It is not slow because of the compares... (I implemented a dummy
nnmail-expirable-article-p that returns nil always and it is still slow)
1. It is slow because it looks
up each article by searching for it from (point-min).
I just did a
(progn
(setq i 3000)
(save-excursion
(set-buffer bufje)
(while (< 0 i)
(setq i (+ i -1))
(goto-char (point-min))
(search-forward "X-Gnus-Article-Number: 3451"))))
where bufje is the nnfolder:xemacs-beta buffer and it took about as
long. (nnolder-request-expire-articles does about the same).
I think there is a lot of room for optimization here.
2. My articles in nnfolder:xemacs-beta are numbered 31xx - 3451... but
Gnus does a
gnus-request-expire-articles((594 595 596 597 598
So it searches about 2500 times too many!.
There's some baaaadddd things going on here.
next prev parent reply other threads:[~1997-04-04 19:07 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-04 8:32 Jason L Tibbitts III
1997-04-04 12:53 ` Hrvoje Niksic
1997-04-04 13:09 ` Jan Vroonhof
1997-04-04 19:07 ` Jan Vroonhof [this message]
1997-04-04 15:18 ` Christopher Davis
1997-04-04 20:25 ` Sudish Joseph
1997-04-05 18:01 ` Christopher Davis
1997-04-04 13:08 ` Kai Grossjohann
1997-04-04 22:02 ` Jason L Tibbitts III
1997-04-04 13:23 ` David S. Goldberg
1997-04-04 13:40 ` Justin Sheehy
1997-04-04 18:17 ` Dewey M. Sasser
1997-04-04 19:16 ` Steinar Bang
1997-04-04 21:26 ` David Moore
1997-04-06 16:55 ` Steinar Bang
1997-04-07 8:15 ` Kai Grossjohann
1997-04-07 13:27 ` Justin Sheehy
1997-04-07 13:56 ` Kai Grossjohann
1997-04-07 15:54 ` Hrvoje Niksic
1997-04-07 17:34 ` Jan Vroonhof
1997-04-07 14:15 ` David Moore
1997-04-07 17:45 ` Christopher Davis
[not found] ` <r9q7mii1kkf.fsf@teapotdome.cs.washington.edu>
1997-04-06 16:59 ` Steinar Bang
1997-04-04 22:32 ` Jason L Tibbitts III
1997-04-05 7:21 ` Hrvoje Niksic
1997-04-05 8:24 ` Jason L Tibbitts III
1997-04-07 8:49 ` Wesley Hardaker
1997-04-19 15:46 ` Steinar Bang
1997-04-22 15:44 ` Brad Howes
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=bypvwaip2v.fsf@math.ethz.ch \
--to=vroonhof@math.ethz.ch \
/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).