Article View: news.software.readers
Article #77808Re: [slrn] new patch dramatically improves thread reconstruction speed on --spool
From: Walter Dnes
Date: Wed, 02 May 2001 10:24
Date: Wed, 02 May 2001 10:24
35 lines
2417 bytes
2417 bytes
On 30 Apr 2001 08:47:04 GMT, jurriaan kalkman, <_hate_spam_thunder7@xs4all.nl> wrote:
> When using slrn --spool, my new patch dramatically improves the thread
> reconstruction (esc-1 esc-p) speed. For my test-thread it went from 4
> minutes to a little under 7 seconds.
>
> The regular slrn-way it to use the NNTP-protocol and give a XPAT
> command, which in spool.c is translated into 'read all headers, find the
> References: part, test if it's the one we want'.
>
> The much quicker way I use in my patch:
>
> Read all lines from the overview file.
> If the pattern isn't in the line, next line.
> If the pattern is one of the references in the References: part, this is
> a good message. Keep it, and go to the next line.
>
> The patch is at http://www.xs4all.nl/~thunder7 and is against
> slrn-0.9.7.0a. Look for SLRN_HAS_QUICK_RECONSTRUCT in slrnfeat.h
We have a winner here. One more tweak, and it'll be amazing. There
is one feature from Agent that I still miss...
- if a thread has *NO UNREAD ARTICLES*, it is not displayed by
default when the group is opened
- if a thread has *ANY UNREAD ARTICLES AT ALL*, the *ENTIRE* thread
is displayed, with read/unread articles appropriately flagged
This applied to all threads when the group was opened. The default
reconstruction was way too slow to make this feasable in slrn. Can you
incorporate this into your patch ? Please ?
--
Walter Dnes
<waltdnes@waltdnes.org>
Technical Details
Message-ID:
<9con8e$bti$3@news.tht.net>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!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed.cgocable.net!hub.org!hub.org!waltdnesReferences:
<slrn9eq9km.25o._hate_spam_thunder7@middle.of.nowhere>Show Full Headers
Complete Article Headers
Message-ID: <9con8e$bti$3@news.tht.net> Subject: Re: [slrn] new patch dramatically improves thread reconstruction speed on --spool Date: Wed, 02 May 2001 10:24:14 +0000 From: waltdnes@waltdnes.org (Walter Dnes) References: <slrn9eq9km.25o._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!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed.cgocable.net!hub.org!hub.org!waltdnes Newsgroups: news.software.readers Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 34 Reply-To: waltdnes@waltdnes.org X-Trace: news.tht.net 988799054 12210 216.126.72.2 (2 May 2001 10:24:14 GMT) X-Complaints-To: scrappy@hub.org User-Agent: slrn/0.9.6.2 (Linux)