From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: ELP results for entering the Gnus list (~10 seconds elapsed time :)
Date: Tue, 29 Jan 2002 08:48:01 +0100 [thread overview]
Message-ID: <m3n0yxwqby.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <2nelk93e2l.fsf@zsh.cs.rochester.edu>
ShengHuo ZHU <zsh@cs.rochester.edu> 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
next prev parent reply other threads:[~2002-01-29 7:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-29 2:13 Daniel Pittman
2002-01-29 2:39 ` ShengHuo ZHU
2002-01-29 2:48 ` Daniel Pittman
2002-01-29 5:45 ` ShengHuo ZHU
2002-01-29 7:48 ` Lars Magne Ingebrigtsen [this message]
2002-01-29 19:01 ` Simon Josefsson
2002-02-02 22:06 ` Paul Jarc
2002-01-29 8:04 ` Daniel Pittman
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=m3n0yxwqby.fsf@quimbies.gnus.org \
--to=larsi@gnus.org \
/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).