🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #69886

Re: [slrn] esc-1-esc p *SLOW* - like minutes stretching by

#69886
From: Jurriaan (note: this is a workin...
Date: Mon, 01 Jan 2001 10:14
65 lines
2948 bytes
On 31 Dec 2000 11:46:55 GMT, Jurriaan (note: this is a working address!)
<no_spam_here@rivierenland.xs4all.nl> wrote:
>I have several newsgroups with a large number of articles (some 16000)
>in a local slrnpull-spool, and given a thread with a large number of
>articles (about 80 or so) pressing esc-1-esc-p to get the whole thread
>on screen is very slow.
>
After some more digging, I seem to be suffering from this routine:

#v+
static void get_children_headers (void) /*{{{*/
{
   Slrn_Header_Type *h;

   /* slrn_set_suspension (1); */

   if (find_children_headers (Slrn_Current_Header) < 0)
     {
        /* slrn_set_suspension (0); */
        return;
     }

   sort_by_sorting_mode ();

   h = Slrn_Current_Header->child;
   if (h != NULL)
     {
        /* Now walk the tree getting children headers.  For efficiency,
         * only children currently threaded will be searched.  Hopefully the
         * above attempt got everything.  If other newsreaders did not chop off
         * headers, this would be unnecessary!
         */
        get_children_headers_1 (h);
        sort_by_sorting_mode ();
     }

   slrn_uncollapse_this_thread (Slrn_Current_Header, 1);

   /* slrn_set_suspension (0); */
}
#v-

It would seem from reading this that slrn 
1 - finds the parent of the current article
2 - finds all children starting from that parent
3 - to make sure, finds all the children starting from all children from
step 2

Can anyone tell me how often this finds something that wasn't found in
step 2 in step 3?

If I #if 0 it out, it is very speedy indeed (seconds instead of
minutes). How often is this extra step necessary? What are the relevant
newsreaders? Did they die out yet?

Greetings,
Jurriaan


-- 
BOFH excuse #372:

Forced to support NT servers; sysadmins quit.
GNU/Linux 2.2.19pre3 SMP 2x1117 bogomips load av: 0.00 0.00 0.04
Technical Details
Message-ID: <slrn950m09.923._hate_spam_thunder7@middle.of.nowhere>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!xfer13.netnews.com!netnews.com!newsfeeds.belnet.be!news.belnet.be!transit.news.xs4all.nl!no_spam_here
References: <slrn94u6ue.5b9._hate_spam_thunder7@middle.of.nowhere>

Show Full Headers
Complete Article Headers
Message-ID: <slrn950m09.923._hate_spam_thunder7@middle.of.nowhere>
Subject: Re: [slrn] esc-1-esc p *SLOW* - like minutes stretching by
Date: Mon, 01 Jan 2001 10:14:21 +0000
From: no_spam_here@rivierenland.xs4all.nl (Jurriaan (note: this is a working address!))
References: <slrn94u6ue.5b9._hate_spam_thunder7@middle.of.nowhere>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!xfer13.netnews.com!netnews.com!newsfeeds.belnet.be!news.belnet.be!transit.news.xs4all.nl!no_spam_here
Newsgroups: news.software.readers
Organization: XS4ALL Internet BV
Lines: 64
NNTP-Posting-Host: rivierenland.xs4all.nl
X-Trace: news1.xs4all.nl 978344061 28196 194.109.14.47 (1 Jan 2001 10:14:21 GMT)
X-Complaints-To: abuse@xs4all.nl
NNTP-Posting-Date: 1 Jan 2001 10:14:21 GMT
User-Agent: slrn/0.9.6.3 (GNU/Linux)