Gnus development mailing list
 help / color / mirror / Atom feed
From: Wes Hardaker <wes@hardakers.net>
Subject: building a smarter gnus
Date: Thu, 28 Mar 2002 15:57:56 -0800	[thread overview]
Message-ID: <sd8z8cfdob.fsf@wanderer.hardakers.net> (raw)


half of the speed problems associated with gnus derive from the fact
that gnus uses entire lists of articles when requesting stuff from the
lower ranges.

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).  Wouldn't it be more
efficient to maybe pass it a compressed list instead and say "retrieve
anything from this range"?  nnimap, for instance, I think checks every
article in the list passed to it which causes problems if there are
articles which don't exist anymore.  my nnsourceforge backend is full
of holes, since I'm hoping to use the bug tracking number as the
article id:

  4        273006: blah                           020328
           ^^^^^^
           max - min

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.  If
the function didn't exist, then fall back to the one that only accepts
an expanded list.

Of course, I really don't know what I'm talking about and I'm just
about nnoo'ed in the head at this point.

Functionally, I want to write a nnXX-request-articles function that is
not passed a list of 273006 articles.  Rather I want to be passed
(226228 . 536386) or something.  I can fill in the holes much more
quickly and using less memory space.  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?)

-- 
"Ninjas aren't dangerous.  They're more afraid of you than you are of them."



             reply	other threads:[~2002-03-28 23:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-28 23:57 Wes Hardaker [this message]
2002-03-29  0:54 ` Paul Jarc
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=sd8z8cfdob.fsf@wanderer.hardakers.net \
    --to=wes@hardakers.net \
    /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).