From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42751 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: ELP results for entering the Gnus list (~10 seconds elapsed time :) Date: Tue, 29 Jan 2002 08:48:01 +0100 Organization: Programmerer Ingebrigtsen 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 1035177953 13722 80.91.224.250 (21 Oct 2002 05:25:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:25:53 +0000 (UTC) Return-Path: Original-Received: (qmail 21728 invoked from network); 29 Jan 2002 07:50:22 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 29 Jan 2002 07:50:22 -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 16VT0H-0002TV-00; Tue, 29 Jan 2002 01:48:29 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 29 Jan 2002 01:48:22 -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 BAA14905 for ; Tue, 29 Jan 2002 01:48:05 -0600 (CST) Original-Received: (qmail 21702 invoked by alias); 29 Jan 2002 07:48:03 -0000 Original-Received: (qmail 21697 invoked from network); 29 Jan 2002 07:48:03 -0000 Original-Received: from ingebrigtsen.no (HELO quimby2.netfonds.no) (195.204.10.66) by gnus.org with SMTP; 29 Jan 2002 07:48:03 -0000 Original-Received: from news by quimby2.netfonds.no with local (Exim 3.12 #1 (Debian)) id 16VT3W-0000Fi-00 for ; Tue, 29 Jan 2002 08:51:50 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 40 Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby2.netfonds.no 1012290710 552 195.204.10.148 (29 Jan 2002 07:51:50 GMT) Original-X-Complaints-To: usenet@quimby2.netfonds.no Original-NNTP-Posting-Date: 29 Jan 2002 07:51:50 GMT Mail-Copies-To: never X-Now-Playing: The Dylan Group's _Reinterpreted_: "Sandcastles (Mix by HiM)" User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i686-pc-linux-gnu) X-Face: |J writes: >> It had one new message, together with the 36 ticked articles, some three >> years old. >> >> ] wc ~/Mail/xemacs.gnus/.overview >> 11308 324899 4232310 /home/daniel/Mail/xemacs.gnus/.overview >> ] wc ~/Mail/xemacs.gnus/.marks >> 1 130 776 /home/daniel/Mail/xemacs.gnus/.marks [...] >> gnus-get-newsgroup-headers-xover 1 7.906612 7.906612 >> gnus-retrieve-headers 2 1.459674 0.7298370000 > > Maybe gnus-nov-parse-line is the culprit, but it is an inline call in > gnus-get-newsgroup-headers-xover. So, could you evaluate > gnus-get-newsgroup-headers-xover, then run elp again? I think the explanation for this could be that if we call `nnml-retrieve-headers' with article lists like '(45 73 20034)', then that function will return a buffer with all the NOV headers between 45 and 20034. *looks at code* 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. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen