🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #5008

Re: Tin v1.2 PL1 Slooooowww ?

#5008
From: Norb Brotz
Date: Tue, 20 Jul 1993 16:17
24 lines
1774 bytes
Craig Bruce (cbruce@bnr.ca) wrote:

: Is it just me, or is the latest version of tin (with Xref
: extensions) a *lot* slower on group entry. I prefer it to the
: 'original' patch posted for Xrefs which took a lot of time
: moving thread to thread within a group, but still....

: Anyone else find it almost unbearable ? (I'm on HP-UX 8.0 reading
: via nntp with local index files)

I'm running 1.21 using nntp and local index files. I built tin
w/ profiling (-pg option) and found that the parse_unread() routine
is taking all of the time. It's called from read_newsrc_lines()
for every (active?) newsgroup whenever a newsgroup is entered.
My quick and dirty kludge is to copy the strcmp before the
parse_seq() call in read_newsrc_lines() to only call parse_unread()
for the current newsgroup. What does this break? deleting cross
posted articles? nothing? 

(I'm also rewriting parse_unread() to make it faster. But it will   
have to be ~5 to 10x faster to be tolerable without the change to
read_newsrc_lines().)

Norb Brotz        nbrotz@cray.com
Technical Details
Message-ID: <1993Jul20.161725.28148@hemlock.cray.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!math.ohio-state.edu!caen!msuinfo!uchinews!raistlin!timbuk.cray.com!hemlock.cray.com!poplar15!nbrotz
References: <1993Jul15.133328.5809@bnr.ca>

Show Full Headers
Complete Article Headers
Message-ID: <1993Jul20.161725.28148@hemlock.cray.com>
Subject: Re: Tin v1.2 PL1 Slooooowww ?
Date: Tue, 20 Jul 1993 16:17:25 +0000
From: nbrotz@poplar15 (Norb Brotz)
References: <1993Jul15.133328.5809@bnr.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!math.ohio-state.edu!caen!msuinfo!uchinews!raistlin!timbuk.cray.com!hemlock.cray.com!poplar15!nbrotz
Newsgroups: news.software.readers
Lines: 25
Nntp-Posting-Host: poplar15
X-Newsreader: TIN [version 1.2 PL1]