Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: building a smarter gnus
Date: Wed, 01 Jan 2003 22:48:37 +0100	[thread overview]
Message-ID: <m3vg18y216.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <sd8z8cfdob.fsf@wanderer.hardakers.net>

Wes Hardaker <wes@hardakers.net> writes:

> 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). 

As previously noted, that would be nice, and was something I thought
should be in the back end interface design.

However, it's never really been followed up, and just putting ranges
in the back end interface wouldn't really help all that much.  For
instance, when entering a group, Gnus uses a list of article numbers
in the summary buffer for doing various things, so we already have
the list, and it's probably the same list that's passed to the back
ends.

And there would probably have to be written range iterators --

(dorange (article ranges)
  ...)

And a memq on a list of integers is much, much faster than
`gnus-member-of-range', I think.  So I think it's entirely possible
that any gains one get from not having to uncompress the ranges would
be lost by having the other operations be slower.

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



      parent reply	other threads:[~2003-01-01 21:48 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
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 [this message]

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=m3vg18y216.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).