Gnus development mailing list
 help / color / mirror / Atom feed
From: prj@po.cwru.edu (Paul Jarc)
Subject: Re: building a smarter gnus
Date: Thu, 28 Mar 2002 19:54:33 -0500	[thread overview]
Message-ID: <m3lmccmbvk.fsf@multivac.cwru.edu> (raw)
In-Reply-To: <sd8z8cfdob.fsf@wanderer.hardakers.net> (Wes Hardaker's message of "Thu, 28 Mar 2002 15:57:56 -0800")

Wes Hardaker <wes@hardakers.net> wrote:
> From what I've gathered (I've started implementing a nnsourceforge
> component, which is functionally working but slow), article lists
> passed to nnXX-request-articles are always a fully expanded list
> (which is causes memory and speed problems).

Do you mean nnXX-retrieve-headers?

> Wouldn't it be more efficient to maybe pass it a compressed list
> instead and say "retrieve anything from this range"?

According to the manual, backends are already *encouraged* to support
that in nnchoke-retrieve-headers, but Gnus doesn't take advantage of
it because not all backends *do* support it yet.

> So, I don't think it would be hard to create a new function called
> "nnXX-request-ranged-articles" which could accept a range instead.

It should indeed be a separate function, I think.  That's the most
convenient way for the backend to express that it's capable of
handling ranges.

> It looks like this isn't possible right now?
>
> (in part because nnxx-request-group must only return num, max and min
> without a valid range list?)

That isn't a problem.  It's already ok for backends to fail to provide
headers for requested articles that don't exist, AFAICT, so it's ok
for Gnus to request headers for too many articles.


paul



  reply	other threads:[~2002-03-29  0:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-28 23:57 Wes Hardaker
2002-03-29  0:54 ` Paul Jarc [this message]
2002-04-02 17:06   ` Wes Hardaker
2002-04-02 19:42     ` Paul Jarc
2002-04-02 20:01       ` Wes Hardaker
2002-04-02 20:43         ` Paul Jarc
2002-04-02 22:09           ` John H Palmieri
2002-04-02 22:18             ` Paul Jarc
2002-04-02 22:35               ` Wes Hardaker
2002-04-02 22:39                 ` Paul Jarc
2002-04-02 23:11                   ` Wes Hardaker
2002-04-02 22:37           ` Wes Hardaker
2002-04-09 17:51       ` Toby Speight
2002-04-09 18:43         ` Paul Jarc
2002-04-02 23:00     ` Harry Putnam
2003-01-01 21:48 ` Lars Magne Ingebrigtsen

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=m3lmccmbvk.fsf@multivac.cwru.edu \
    --to=prj@po.cwru.edu \
    /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).