🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #82469

Re: Xnews request (paying customer)

#82469
From: Murray Peterson
Date: Sat, 04 Aug 2001 06:14
34 lines
2764 bytes
SSMP <SSMP@GMX.Net> wrote in news:Xns90F2F00A8D81ASSMPGMXNet@212.18.32.8:

> Maybe i should tell u something about scoring... The algorythm works
> like: it downloads 100 headers, it checks the 100 headers with the 1000
> entries in the score file, that means 100.000 comparisions and that
> string comparisions which means that the computer has to make a lot
> more (but that's multiplied by a fixed number, which i don't know)...
> [snip] 

Actually, you are wrong about the the effort involved in scoring headers.  
A regular expression engine can usually compare a header with the entire 
set of (say 1000) score entries with a very small number of string 
comparisons.  The only exception is when you enter scoring expressions 
which require extensive back ups.  Here's a simple example:

Let's say my score file reads:
[.]
Score:: -9999
Subject: elmer|eleanor|elaine

The regexp engine only needs to check for "el" in the header -- if those 
two characters aren't in the header, then the scoring pass is complete.  
Note that this only took a single comparison, not three.  This example is 
simplistic, but it does give you an idea of how the scoring is a much 
faster operation than you thought.

On the other hand, threading is a very cpu intensive operation, since it 
requires multiple passes of the article list.

-- 
Murray Peterson
Email: murray_peterson@home.com (remove underscore)
URL:   http://www.members.home.net/murraypeterson
Technical Details
Message-ID: <Xns90F31927B8FDfarkle@24.71.223.45>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!howland.erols.net!cyclone2.usenetserver.com!usenetserver.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news2.calgary.shaw.ca.POSTED!not-for-mail
References: <9jml11$tsf$1@slb3.atl.mindspring.net> <9jo77f42n72@enews1.newsguy.com> <Xns90F0A30683271SSMPGMXNet@212.18.32.8> <Xns90F067DC1565Dfarkle@24.71.223.45> <Xns90F0C9AEEE859SSMPGMXNet@212.18.32.8> <Xns90F29FB1DC630toxicbludhotmailcom@63.209.170.216> <Xns90F2F00A8D81ASSMPGMXNet@212.18.32.8>

Show Full Headers
Complete Article Headers
Message-ID: <Xns90F31927B8FDfarkle@24.71.223.45>
Subject: Re: Xnews request (paying customer)
Date: Sat, 04 Aug 2001 06:14:34 GMT
From: mwp@home.com.invalid (Murray Peterson)
References: <9jml11$tsf$1@slb3.atl.mindspring.net> <9jo77f42n72@enews1.newsguy.com> <Xns90F0A30683271SSMPGMXNet@212.18.32.8> <Xns90F067DC1565Dfarkle@24.71.223.45> <Xns90F0C9AEEE859SSMPGMXNet@212.18.32.8> <Xns90F29FB1DC630toxicbludhotmailcom@63.209.170.216> <Xns90F2F00A8D81ASSMPGMXNet@212.18.32.8>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!howland.erols.net!cyclone2.usenetserver.com!usenetserver.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news2.calgary.shaw.ca.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: None
User-Agent: Xnews/4.05.11
Lines: 33
NNTP-Posting-Host: 24.66.210.29
X-Complaints-To: abuse@shaw.ca
X-Trace: news2.calgary.shaw.ca 996905674 24.66.210.29 (Sat, 04 Aug 2001 00:14:34 MDT)
NNTP-Posting-Date: Sat, 04 Aug 2001 00:14:34 MDT