Article View: news.software.readers
Article #4236ov_data slow (Re: Trn 3.0 has been released)
From: Guy Middleton
Date: Mon, 07 Jun 1993 22:51
Date: Mon, 07 Jun 1993 22:51
21 lines
1527 bytes
1527 bytes
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.
Because of this, trn has to read article headers to build its thread trees,
in this loop from ov_data() in rt-ov.c:
for (an = first, ap = article_ptr(an); an <= artnum; an++, ap++) {
if (!(ap->flags & cachemask)) {
#ifdef USE_NNTP
onemissing(ap);
#else
(void) parseheader(an);
#endif
}
}
This take a *long* time. It would be good if we could give the user some
idea that we are doing something. It looks like the 'spin()' routine would
be good for this, and there is a call to spin() in pareseheader(), but I
can't see anything happening.
Technical Details
Message-ID:
<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!xlink.net!howland.reston.ans.net!usc!cs.utexas.edu!utnut!torn!watserv2.uwaterloo.ca!watmath!gamiddleReferences:
<C866H1.7ur@borland.com>Show Full Headers
Complete Article Headers
Message-ID: <C89wtu.3xG@math.uwaterloo.ca> Subject: ov_data slow (Re: Trn 3.0 has been released) Date: Mon, 7 Jun 1993 22:51:29 GMT From: gamiddle@math.uwaterloo.ca (Guy Middleton) References: <C866H1.7ur@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!xlink.net!howland.reston.ans.net!usc!cs.utexas.edu!utnut!torn!watserv2.uwaterloo.ca!watmath!gamiddle Newsgroups: news.software.readers,news.software.nntp Keywords: trn 3.0 ftp overview NOV XOVER thread mthreads Sender: news@math.uwaterloo.ca (News Owner) Organization: University of Waterloo Software Liberation Army Lines: 21