🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #15175

Re: NEWNEWS Command

#15175
From: James Brister
Date: Wed, 19 Feb 1997 00:00
17 lines
1148 bytes
davidsen@tmr.com (bill davidsen) writes:

> I always wondered why this command is so _slow_? My history file is
> about 2.5M lines, so the binary search used in INN would take ~22
> disk accesses to find the starting point.

Actually it's worse than that -- it does the binary search by byte counts,
not line counts. For an average line length of about 80 characters, you'd
be looking at about 27 disk accesses.

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium    http://www.isc.org/isc   inn@isc.org 

Technical Details
Message-ID: <yy3u3n8ikex.fsf@velo.pp.vix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <5doh1j$en4$1@jair.pressenter.com> <E5GFKo.Goz@spcuna.spc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <yy3u3n8ikex.fsf@velo.pp.vix.com>
Subject: Re: NEWNEWS Command
Date: Wed, 19 Feb 1997 00:00:00 +0000
From: James Brister <brister@vix.com>
References: <5doh1j$en4$1@jair.pressenter.com> <E5GFKo.Goz@spcuna.spc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 219984234
Organization: Internet Software Consortium
Newsgroups: news.software.nntp