Article View: news.software.readers
Article #78660Re: [slrn] new patch dramatically improves thread reconstruction speed on --spool
From: J.B. Nicholson-Owens
Date: Wed, 16 May 2001 05:03
Date: Wed, 16 May 2001 05:03
32 lines
2665 bytes
2665 bytes
Thomas Schultz wrote: > After expunging articles, slrn needs to re-thread headers (which > implies a re-sort), so expunging each article individually would scale > very badly. This is why I chose not to implement this and offer the > option to mark (tag) messages you want to keep when expunging the > group instead. 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. I'll just have to change my strategy a little. It's still a do-able problem entirely using article_mode_hook(). > Is it really the macro itself that does not scale well (in that case, can > you tell me what in particular takes too much time) [...] It's partially the macro and partially the task. The task naturally doesn't scale well -- the more threads in article mode, the more there is to process. There's nothing I can do about that. 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). > [...] 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)?
Technical Details
Message-ID:
<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.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!forestfield.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>Show Full Headers
Complete Article Headers
Message-ID: <slrn9g42f1.18r.jbn@forestfield.org> Subject: Re: [slrn] new patch dramatically improves thread reconstruction speed on --spool Date: Wed, 16 May 2001 05:03:55 +0000 From: jbn@forestfield.org (J.B. Nicholson-Owens) 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> 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.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail Newsgroups: news.software.readers Organization: Forest Field OmniMedia Lines: 31 NNTP-Posting-Host: forestfield.org (208.216.67.173) X-Trace: fu-berlin.de 989989435 20908108 208.216.67.173 (16 [35848]) X-Orig-Path: jbn User-Agent: slrn/0.9.7.0 (Unix)