🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #1923

Re: ov_data slow (when overview data is missing)

#1923
From: Wayne Davison
Date: Tue, 08 Jun 1993 06:05
24 lines
1881 bytes
gamiddle@math.uwaterloo.ca (Guy Middleton) wrote:
> As recommended by the cnews-NOV docs, I didn't create .overview files for all
> the articles already in our news spool, but rather just added the code to
> cnews, and let the files build up normally.

If you do this, I would recommend not attempting to use the files until
they have built up a bit more -- until then they aren't extensive enough
to be useful.

> Because of this, trn has to read article headers to build its thread trees,
> in this loop from ov_data() in rt-ov.c:

This is a loop designed to fill in quirks in the overview data, not to
read whole ranges of articles.  It was definitely not prepared to handle
the situation where whole sections are missing from the beginning of the
overview file (it actually handles overview files that aren't up to date
at the end, though).

I will see about making it handle this case better in the future, but
until then I'd recommend building all your overview files -- I think
it's worth the effort.  After your overview files are in place I think
you'll find the code will perform quite nicely.

.wayne..
Technical Details
Message-ID: <C8AGx3.3MC@borland.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!gatech!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davison
References: <C866H1.7ur@borland.com> <C89wtu.3xG@math.uwaterloo.ca>

Show Full Headers
Complete Article Headers
Message-ID: <C8AGx3.3MC@borland.com>
Subject: Re: ov_data slow (when overview data is missing)
Date: Tue, 8 Jun 1993 06:05:27 GMT
From: davison@borland.com (Wayne Davison)
References: <C866H1.7ur@borland.com> <C89wtu.3xG@math.uwaterloo.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!gatech!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davison
Newsgroups: news.software.readers,news.software.nntp
Keywords: trn 3.0 overview
Organization: Borland International
Lines: 24