From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49973 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Why article numbers? Date: Sun, 09 Feb 2003 15:59:22 +0100 Organization: University of Duisburg, Germany Sender: owner-ding@hpc.uh.edu Message-ID: <844r7dbiut.fsf@lucy.is.informatik.uni-duisburg.de> References: <841y2jzrgm.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044802765 32347 80.91.224.249 (9 Feb 2003 14:59:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 9 Feb 2003 14:59:25 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18hsvT-0008Pb-00 for ; Sun, 09 Feb 2003 15:59:23 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18hsw7-0001w6-00; Sun, 09 Feb 2003 09:00:03 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 09 Feb 2003 09:01:01 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id JAA27089 for ; Sun, 9 Feb 2003 09:00:49 -0600 (CST) Original-Received: (qmail 84257 invoked by alias); 9 Feb 2003 14:59:47 -0000 Original-Received: (qmail 84252 invoked from network); 9 Feb 2003 14:59:46 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 9 Feb 2003 14:59:46 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18ht4J-0000aN-00 for ; Sun, 09 Feb 2003 16:08:31 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 29 Original-NNTP-Posting-Host: pd9e1e5fd.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1044803311 2203 217.225.229.253 (9 Feb 2003 15:08:31 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 9 Feb 2003 15:08:31 GMT User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50 Cancel-Lock: sha1:GnNuXhr0rRgjBuXj8d4nOiHlI3g= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49973 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49973 Lars Magne Ingebrigtsen writes: > prj@po.cwru.edu (Paul Jarc) writes: > >> I think the only advantage of integers over symbols is in representing >> large contiguous ranges. Can you give us some examples of places >> where compact representations are really essential? > > Well, anywhere, basically. > > You enter a group. The server says that the available articles are > 50000-60000. You have a list of, er, ids. How many articles should > you fetch if the user wants all unread articles? This could be worked around by storing the numbers together with the msg ids. Hm. Ugly. > You want to mark the unseen messages as unseen. Keep a list of all > seen ids? Keep a list of unseen ids :-) But there are problems with using the numbers, too, so I think it would be useful to get a list of pros/cons or a discussion or something like this so that somebody might have a bright insight how to combine the advantages of both. -- A turnip curses Elvis