Gnus development mailing list
 help / color / mirror / Atom feed
From: Gaute B Strokkenes <biggaute@uwc.net>
Subject: Re: Ranges
Date: Sat, 10 Jan 2004 17:13:07 +0100	[thread overview]
Message-ID: <87llof4wa4.fsf@srcf.ucam.org> (raw)
In-Reply-To: <m3smiv0zrp.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Mon, 05 Jan 2004 05:45:30 +0100")

On 5 jan 2004, larsi@gnus.org wrote:

> I've been thinking about the range thing -- using ranges instead of
> lists whenever talking about articles.  And I've got some ideas
> cooking about the C implementation of those, and I think it could
> possibly be quite groovy.  (A new data type; super-hyper-fast
> `range-memq', etc.)
>
> But, on the other hand -- what's the impact, really?

The best (in my not-so-humble opinion) argument, and one that hasn't
been mentioned so far, is that consistently using ranges means that
you only use one data structure to indicate sets of articles.  I have
been confused on more than one ocassion while browsing through the
gnus source whether ranges or lists are expected.

> Where does using lists instead of ranges really represent a
> noticeable performance drag?  Ok, when entering a group with 1000
> articles, you get a list that's 1000 elements long, but does
> creating that list really make any noticeable difference?
>
> I'd like to see some scenarios where this matters before going down
> this road.

-- 
Gaute Strokkenes                        http://www.srcf.ucam.org/~gs234/
I'm in ATLANTIC CITY riding in a comfortable ROLLING CHAIR...



      parent reply	other threads:[~2004-01-10 16:13 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-05  4:45 Ranges Lars Magne Ingebrigtsen
2004-01-05  6:49 ` Ranges Zack Weinberg
2004-01-05 10:57   ` Ranges Per Abrahamsen
2004-01-05  7:13 ` Ranges Steve Youngs
2004-01-05  7:51   ` Ranges Lars Magne Ingebrigtsen
2004-01-05 11:01 ` Ranges Kim Minh Kaplan
2004-01-05 11:19   ` Ranges Lars Magne Ingebrigtsen
2004-01-06  8:44     ` Ranges Kim Minh Kaplan
2004-01-05 19:01 ` Ranges Ted Zlatanov
2004-01-06  4:58   ` Ranges Lars Magne Ingebrigtsen
2004-01-06  5:26     ` Ranges Paul Jarc
2004-01-06  6:44       ` Ranges Ted Zlatanov
2004-01-07  2:35         ` Ranges Lars Magne Ingebrigtsen
2004-01-08 21:52           ` Ranges Ted Zlatanov
2004-01-10 18:43             ` Ranges Dan Christensen
2004-01-12 21:13               ` Ranges Ted Zlatanov
2004-01-12 21:28           ` Ranges Paul Jarc
2004-01-20 23:53             ` Ranges Ted Zlatanov
2004-01-21  7:15               ` Ranges Paul Jarc
2004-01-21 15:19                 ` Ranges Ted Zlatanov
2004-01-05 21:39 ` Ranges Kai Grossjohann
2004-01-06  5:00   ` Ranges Lars Magne Ingebrigtsen
2004-01-06  6:34     ` Ranges Steve Youngs
2004-01-10 16:13 ` Gaute B Strokkenes [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=87llof4wa4.fsf@srcf.ucam.org \
    --to=biggaute@uwc.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).