Article View: news.software.readers
Article #78747Re: [slrn] new patch dramatically improves thread reconstruction speed on --spool
From: Thomas Schultz
Date: Thu, 17 May 2001 14:10
Date: Thu, 17 May 2001 14:10
41 lines
3205 bytes
3205 bytes
* J.B. Nicholson-Owens [2001-05-16 05:03] : > Ah, okay. The asterisk doesn't help me here because I will want to > preserve those too (see http://forestfield.org/slrn/#stickytags for > details), so I can't go clobbering them. [...] You would probably need to make sure that the macro that expunges unwanted messages is used before StickyTags->article_mode_hook (). [...] > But the macro could be made faster if I could quickly determine if a thread > had 0/n/all read articles (where 'n' is some counting number). I guess this > would be some function I could call on a collapsed thread that would return > the desired info (perhaps I could use this info and compare it to the > thread_size() to determine how many were read/unread). If I understand you correctly, this could be implemented in slang by uncollapsing the thread, counting the number of read headers within the thread_size() next headers and collapsing the thread again (if necessary), but you want an equivalent function in C because it would be faster? >> [...] is it the fact that slrn needs to download all available >> headers first? > I was going to implement it by doing ESC-1-ESC-p on the threads that > needed to be rebuilt. Would this work better if I entered group more > requesting all available articles (and expunged what I didn't need)? I don't think it's possible to find out reliably beforehand. A rule of thumb might be to reconstruct threads if the number of unread messages is much smaller than the total number of available messages and to expunge what you don't need when you can expect that a reconstruction of threads would download most available headers anyway. However, performance will heavily depend on the size of the individual threads, which is largely unpredictable. -- 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:
<slrn9g7mvf.1cq.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.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-was.dfn.de!news-koe1.dfn.de!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mailReferences:
<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>Show Full Headers
Complete Article Headers
Message-ID: <slrn9g7mvf.1cq.tststs@starflower.tststs.ddns.org> Subject: Re: [slrn] new patch dramatically improves thread reconstruction speed on --spool Date: Thu, 17 May 2001 14:10:55 +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> 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.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-was.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: 40 NNTP-Posting-Host: 149.225.25.177 NNTP-Posting-Date: 18 May 2001 13:59:20 GMT X-Complaints-To: abuse@cityweb.de X-Server-Date: 17 May 2001 15:15:01 GMT User-Agent: slrn/0.9.7.0apl2 (Linux)