🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #78954

Re: [slrn] new patch dramatically improves thread reconstruction speed on --spool

#78954
From: Thomas Schultz
Date: Sun, 20 May 2001 17:43
26 lines
2587 bytes
* J.B. Nicholson-Owens [2001-05-18 18:20] :
[...]
> Yes, I'll explain.  I've been doing the work in the macro by moving
> the cursor within the thread and doing the appropriate thing if I see
> an unread article in the thread.  I figured since slrn apparently
> already did some counting along these lines (to decide what character
> to display next to a collapsed thread), it would be faster to reuse
> that then recount for myself. [...]

Actually, this information is not cached -- slrn always steps through
the thread looking for an unread header when it needs this
information.  This works so fast that storing the result (and changing
it whenever an article is marked read) is not worth the trouble.

For now, I think we can stick to the slang way of doing this, which
should also work much faster in slrn 0.9.7.1, as I tweaked the code
for (un)collapsing single threads.  On my machine, a macro that
uncollapses each thread and collapses it again (tested in a group with
~5,000 headers / 680 threads) took 0.99 seconds to execute in slrn
0.9.7.0 and takes 0.01 seconds in my current development code.
-- 
Thomas Schultz <tststs@gmx.de> * Recent news from http://slrn.sourceforge.net/
 -> [2001-04-19] Full documentation online
 -> [2001-03-28] slrn 0.9.7.0 released
 -> [2001-03-15] Public preview of slrn 0.9.7.0
Technical Details
Message-ID: <slrn9gg0hl.b3.tststs@starflower.tststs.ddns.org>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mail
References: <slrn9eq9km.25o._hate_spam_thunder7@middle.of.nowhere> <9con8e$bti$3@news.tht.net> <slrn9fu64b.84.jbn@forestfield.org> <slrn9g0gr1.5to.tststs@starflower.tststs.ddns.org> <slrn9g42f1.18r.jbn@forestfield.org> <slrn9g7mvf.1cq.tststs@starflower.tststs.ddns.org> <slrn9gapst.e8.jbn@forestfield.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9gg0hl.b3.tststs@starflower.tststs.ddns.org>
Subject: Re: [slrn] new patch dramatically improves thread reconstruction speed on --spool
Date: Sun, 20 May 2001 17:43:17 +0000
From: tststs@gmx.de (Thomas Schultz)
References: <slrn9eq9km.25o._hate_spam_thunder7@middle.of.nowhere> <9con8e$bti$3@news.tht.net> <slrn9fu64b.84.jbn@forestfield.org> <slrn9g0gr1.5to.tststs@starflower.tststs.ddns.org> <slrn9g42f1.18r.jbn@forestfield.org> <slrn9g7mvf.1cq.tststs@starflower.tststs.ddns.org> <slrn9gapst.e8.jbn@forestfield.org>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mail
Newsgroups: news.software.readers
Organization: Pinguin online.
Lines: 25
NNTP-Posting-Host: 149.225.28.148
NNTP-Posting-Date: 20 May 2001 18:00:54 GMT
X-Complaints-To: abuse@cityweb.de
X-Server-Date: 20 May 2001 17:58:32 GMT
User-Agent: slrn/0.9.7.0apl2 (Linux)