Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: Holes in article sequence
Date: 09 Jul 1999 20:26:21 +0200	[thread overview]
Message-ID: <m3908pd6ia.fsf@quimbies.gnus.org> (raw)
In-Reply-To: =?iso-8859-1?q?Fran=E7ois?= Pinard's message of "09 Jul 1999 13:25:52 -0400"

François Pinard <pinard@iro.umontreal.ca> writes:

> If you fear that it could a bit slow, but are able to keep the old code as
> well as the new, maybe you could let the number of articles decide which
> method to use,

Hey!  Great minds think alike!  :-)

> or else, have some collaboration from the backend to tell
> you when it is better to change methods.  Or maybe both: if the backend has
> nothing to say, use some heuristic on the number of articles.  Of course, if
> the other-way-around is not supported by the backend, just use the old way.

Yes; giving the backend more info might resolve the issue.

(*Time passes while Lars looks at some code.*)

Aha!  nnml already does it the other way around -- it looks at the
actual articles in the group, and then works on the intersection
between the articles it's asked to expire and the ones it knows
exists.  nnfolder, on the other hand, just iterates over the entire
list of expirable articles, which results in a call to
`nnfolder-goto-article' for each article in the list.  That must be
slooow...

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


  reply	other threads:[~1999-07-09 18:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-07  1:13 François Pinard
1999-07-07  2:27 ` Hrvoje Niksic
1999-07-07 17:49   ` Rob Browning
1999-07-09 17:06   ` Lars Magne Ingebrigtsen
1999-07-09 17:11     ` Kai.Grossjohann
1999-07-09 18:20       ` Lars Magne Ingebrigtsen
1999-07-09 17:25     ` François Pinard
1999-07-09 18:26       ` Lars Magne Ingebrigtsen [this message]
1999-07-09 22:34         ` Kai.Grossjohann
1999-07-11  9:03           ` Lars Magne Ingebrigtsen
1999-07-12  3:02         ` Hrvoje Niksic
1999-08-27 17:21           ` Lars Magne Ingebrigtsen
1999-08-28 17:55           ` Jan Vroonhof
     [not found]           ` <m3yaexdtre.fsf@quimb <byemgnx00v.fsf@bolzano.math.ethz.ch>
1999-09-25  6:45             ` Lars Magne Ingebrigtsen
1999-07-12 21:16         ` jonkv
1999-07-11 14:13   ` Hallvard B Furuseth

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=m3908pd6ia.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    /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).