From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42773 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: ELP results for entering the Gnus list (~10 seconds elapsed time :) Date: Tue, 29 Jan 2002 20:01:01 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <873d0phqhy.fsf@inanna.rimspace.net> <2nelk93e2l.fsf@zsh.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035177972 13882 80.91.224.250 (21 Oct 2002 05:26:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:26:12 +0000 (UTC) Return-Path: Original-Received: (qmail 21661 invoked from network); 29 Jan 2002 19:05:47 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 29 Jan 2002 19:05:47 -0000 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 16VdZI-0007r9-00; Tue, 29 Jan 2002 13:05:20 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 29 Jan 2002 13:05:11 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id NAA18386 for ; Tue, 29 Jan 2002 13:04:46 -0600 (CST) Original-Received: (qmail 20091 invoked by alias); 29 Jan 2002 19:01:13 -0000 Original-Received: (qmail 20085 invoked from network); 29 Jan 2002 19:01:12 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 29 Jan 2002 19:01:12 -0000 Original-Received: from dhcp133.extundo.com (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.2/8.12.2) with ESMTP id g0TJ0iFN010344 for ; Tue, 29 Jan 2002 20:00:45 +0100 Original-To: ding@gnus.org In-Reply-To: (Lars Magne Ingebrigtsen's message of "Tue, 29 Jan 2002 08:48:01 +0100") Mail-Copies-To: nobody Original-Lines: 17 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:42773 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:42773 Lars Magne Ingebrigtsen writes: > Yup, `nnheader-nov-delete-outside-range' is called to remove lines > that are before the smallest number and higher than the largest > number. This means that `gnus-get-newsgroup-headers-xover' is parsing > a very large buffer. > > I think we need to write a new function that looks at the "gaps" in > the article numbers and decides whether to remove the superfluous > lines or not according to some heuristic. Say -- if the "gap" is more > than 50 articles, it will probably be more efficient to remove the > lines in between. In the nnimap NOV cache I found these functions too slow (especially the "braid-nov" function), so it just inserts the entire NOV content, except lines below the minimum article number in the requested range, and above the maximum. IIRC.