From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48513 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: building a smarter gnus Date: Wed, 01 Jan 2003 22:48:37 +0100 Organization: Programmerer Ingebrigtsen Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041457724 14408 80.91.224.249 (1 Jan 2003 21:48:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 1 Jan 2003 21:48:44 +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 18TqjD-0003kE-00 for ; Wed, 01 Jan 2003 22:48:43 +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 18TqjS-0008NB-00; Wed, 01 Jan 2003 15:48:58 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 01 Jan 2003 15:49:52 -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 PAA20960 for ; Wed, 1 Jan 2003 15:49:38 -0600 (CST) Original-Received: (qmail 52847 invoked by alias); 1 Jan 2003 21:48:39 -0000 Original-Received: (qmail 52842 invoked from network); 1 Jan 2003 21:48:39 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 1 Jan 2003 21:48:39 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18Tqk6-0002pU-00 for ; Wed, 01 Jan 2003 22:49:38 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 30 Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby.gnus.org 1041457778 10879 80.91.231.2 (1 Jan 2003 21:49:38 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 1 Jan 2003 21:49:38 GMT Mail-Copies-To: never X-Now-Playing: Plunderphonics's _69-96 (2)_: "Horrendous Trance Sigh Trend - 1001" User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.50 (i686-pc-linux-gnu) X-Face: $R1]#>?WB&J`Tl,ND"!04=+-3\qCM|?i1|rB'KcfFHi3X'k19,EL4~@kl'%=q4 HWFOX.dZ`n*teZ!D3i8.,?<+!u-q4CG!EhSezE7,S"Pj)fd|QA{wEon |DNQSoBZEthMqs>FFx=noH[laUOeam(:0V~(`Le"8g~f>~gFbZc]I*IT`.v%v%PjG%]HR)c\.s|MiF b'.bQ:XCH3ZVQ/n-_~p:.R/ Cancel-Lock: sha1:XHvBqn2I4cUaE3NPjnlssgQvgzk= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48513 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48513 Wes Hardaker 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