Article View: news.software.readers
Article #42388Re: Getting slrn to use LIST ACTIVE instead of GROUP?
From: Jeremy
Date: Wed, 29 Jul 1998 00:00
Date: Wed, 29 Jul 1998 00:00
30 lines
2025 bytes
2025 bytes
Russ Allbery <rra@stanford.edu> wrote: >> Wouldn't actived's help be pretty restricted to things like LIST >> ACTIVE? I mean, since it uses the active file, and all? (he said, >> having never really delved into the code much...) > > Aha. You're right. Looking at group.c in the nnrpd source, a GROUP > command actually goes into the directory, reads in all of the files, and > then calls qsort on them. Yes, I know, that's the problem. :) With normal-sized newsgroups, you don't notice too much (though it is still an expensive operation). But try putting tens of thousands of articles in a group, and you see what we're talking about. > Bleh. > > No wonder GROUP on large newsgroups is so slow. Exactly. Hmm. I wonder if a quick and dirty fix would be to make GROUP get its numbers from active? Or would that break something...? Hmm, something to ask our programmer about... -- Jeremy | jeremy@exit109.com "Do you think a princess, and a guy like me..." --Han Solo
Technical Details
Message-ID:
<6pm2tv$4q0$3@news1.exit109.com>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!not-for-mailReferences:
<slrn6r3vn3.7tk.gjohnson@dream.season.com> <slrn6ri2kp.8pi.syl@elvira.rodents.montreal.qc.ca> <6pdgab$494$1@supernews.com> <slrn6rmfnv.m1r.syl@elvira.rodents.montreal.qc.ca> <6pkd3q$kv5$1@supernews.com> <6pl6ml$9p3$1@news1.exit109.com> <m3lnpdsg79.fsf@windlord.Stanford.EDU> <6pm0fi$3a7$1@news1.exit109.com> <m3af5tpevc.fsf@windlord.Stanford.EDU>Show Full Headers
Complete Article Headers
Message-ID: <6pm2tv$4q0$3@news1.exit109.com> Subject: Re: Getting slrn to use LIST ACTIVE instead of GROUP? Date: Wed, 29 Jul 1998 00:00:00 +0000 From: jeremy@exit109.com (Jeremy) References: <slrn6r3vn3.7tk.gjohnson@dream.season.com> <slrn6ri2kp.8pi.syl@elvira.rodents.montreal.qc.ca> <6pdgab$494$1@supernews.com> <slrn6rmfnv.m1r.syl@elvira.rodents.montreal.qc.ca> <6pkd3q$kv5$1@supernews.com> <6pl6ml$9p3$1@news1.exit109.com> <m3lnpdsg79.fsf@windlord.Stanford.EDU> <6pm0fi$3a7$1@news1.exit109.com> <m3af5tpevc.fsf@windlord.Stanford.EDU> 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!not-for-mail X-Deja-AN: 375866113 X-Trace: news1.exit109.com 901680895 4928 208.225.64.3 (29 Jul 1998 02:54:55 GMT) Organization: There Is No Organization NNTP-Posting-Date: 29 Jul 1998 02:54:55 GMT Newsgroups: news.software.readers