🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #145451

Re: XNews: Basic filtering query...

#145451
From: Tech Zero
Date: Mon, 29 Mar 2004 08:45
43 lines
2502 bytes
The voice of ""Q"" drifted in on the cyber-winds, 
from the sea of virtual chaos...

> MChan <mchan@not.valid.email> wrote in
> <news:ea2dafe33726982927c1515f08cd8805@news.teranews.com>:
 <snip>
>> (3.) Are both filter below have same meaning?
>> 
>>> First
>> Score: =-9999
>> Subject: One|Two|Three|Alpha|Beta|Gamma
>> 
>>> Second
>> Score: =-9999
>> Subject: One|Two|Three
>> Subject: Alpha|Beta|Gamma
> 
> If you added another colon (Score::) to the second example, the
> two examples would do the same thing.


Well, in those examples "Q" there is no difference...
(Aside from the aforementioned colon)

But if you were trying to speed up some then placing long or complex 
entries after simpler or the most likely triggers, then it does speed 
things up a bit.  For example:

  [^alt\.binaries\.pictures.+[^d]$]
  Score:: -3000
     Xref: (.*:){3,}
     Subject: cosp(lay)?|incest|loli(ta|con)?|lottery|guarantee|pass(code|word)|scat
     Subject: (eazy|free|make|quick).*(money|cash|thousand)|(earn|money).*free
     Subject: ([a-z])\1{12}|([�-�]){3}|\=\?(big|iso|koi|utf)|(\w\W\s?){7}|\s{12}|\${2}

The first two lines do score faster then the last two...
Although the difference may not be perceivable in smaller text groups, 
or if you have a fast processor, I did notice a difference in the 
filter time needed in some large binary groups these entries are from.

-- 
The Tech Zero, Maxwell Pollare - Lost in the keys of Xnews
Technical Details
Message-ID: <Xns94BB11FC77BA3ZeroOne@news.individual.net>
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!news2.google.com!fu-berlin.de!uni-berlin.de!209.115.159.139!not-for-mail
References: <ea2dafe33726982927c1515f08cd8805@news.teranews.com> <MrQ94BA8B11FA079itsmeitsQ@QsFQDN.dyndns.org>

Show Full Headers
Complete Article Headers
Message-ID: <Xns94BB11FC77BA3ZeroOne@news.individual.net>
Subject: Re: XNews: Basic filtering query...
Date: Mon, 29 Mar 2004 08:45:03 +0000
From: Tech Zero <spamnet-mar@dragonfur.ca>
References: <ea2dafe33726982927c1515f08cd8805@news.teranews.com> <MrQ94BA8B11FA079itsmeitsQ@QsFQDN.dyndns.org>
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!news2.google.com!fu-berlin.de!uni-berlin.de!209.115.159.139!not-for-mail
Newsgroups: news.software.readers
Lines: 42
NNTP-Posting-Host: 209.115.159.139
X-Trace: news.uni-berlin.de 1080549903 83639787 I 209.115.159.139 ([139626])
User-Agent: Xnews/06.01.10
X-Face: }2a:86~fids1(+)NSk]$?SqH(7<%l,URI]qy%%.4O]rYF&7aeXt,vC%i`TGlSWHr&v]amN[1^X"p0$?&3`az-l>nq\y5}ADu+TJ%\{[)`H"X}yx`zpMe^V*JyI~)WcA-6Mb#Qh>}?{cyxK!"G\#"I5&H\FrFy[c9usZ<#'"nvV[;34_qR9](uXc,NLS?JRGg/.&1=