🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.ip.developers
Article #81

Re: Newshistory checking

#81
From: Terrance Richard Boyes
Date: Mon, 19 Jul 1999 00:00
30 lines
2169 bytes
Jim Segrave <jes@nl.demon.net> wrote:

> The ultimate reference:

> D. E. Knuth's The Art of Computer Programming. I think it's in volume
> 3 - Sorting and Searching, but it might be in SemiNuerical Algorithms
> (vol. 1 as I recall).

Cheers.

> The DOS version was memory limited and the tradeoff was to search the
> file if both hashes of the message ID were in the table, otherwise it
> was guaranteed it was a new article. 

Yep, though the history file searching isn't much of a problem iff
the Message-IDs come back from the server in the same order
as they exist in the history file. Which in most circumstances
they will be; the main exceptions being crossposted articles and
message-id HASH collisions.

There'll be some speed problems if the user rearranges the order
of the newsgroups in the timestamp file as well.

One time when it will potentially be a real performance problem
though is using multiple ISPs.

-- 
<URL:http://www.pierrot.co.uk/>                                  Team AMIGA
Organic chemistry is the chemistry of carbon compounds.  Biochemistry is the 
study of carbon compounds that crawl.  - Mike Adams
Technical Details
Message-ID: <19990719.172635.0AA80202.2Gaa@pierrot.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <19990713.200500.0AA80202.PEaa@pierrot.co.uk> <19990714.210035.0AA80202.TCaa@pierrot.co.uk> <E114k4m-0000SW-00@jes.noc.nl.demon.net> <19990716.193917.0AA80202.XVaa@pierrot.co.uk> <E116Fjp-0000ko-00@jes.noc.nl.demon.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bb05,75d5f9974c0fd91a
X-Google-Attributes: gid10bb05,public
From: tez@pierrot.co.uk (Terrance Richard Boyes)
Subject: Re: Newshistory checking
Date: 1999/07/19
Message-ID: <19990719.172635.0AA80202.2Gaa@pierrot.co.uk>
X-Deja-AN: 502802221
References: <19990713.200500.0AA80202.PEaa@pierrot.co.uk> <19990714.210035.0AA80202.TCaa@pierrot.co.uk> <E114k4m-0000SW-00@jes.noc.nl.demon.net> <19990716.193917.0AA80202.XVaa@pierrot.co.uk> <E116Fjp-0000ko-00@jes.noc.nl.demon.net>
X-NaMLServ: $VER: v0.9b <tez@pierrot.co.uk>
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!tele-post-20.mail.demon.net!pierrot.demon.co.uk!pierrot.co.uk!tez@pierrot.co.uk
X-Trace: mail2news.demon.co.uk 932407873 mail2news:12527 mail2news mail2news.demon.co.uk
Organization: ECL.Net
User-Agent: tin/pre-1.4-980618 (AMIGA)
X-Lan-Trace: news.pierrot.lan 19990719.172635 news:2Gaa IDENT tez@ami060.pierrot.lan
Newsgroups: demon.ip.developers