[SURBL-Discuss] Combined SURBL A record format (Was: Re: BillStearns' sa-blacklistavailable as SURBL: ws.surbl.org)

Jeff Chan jeffc at surbl.org
Wed Apr 21 03:15:26 CEST 2004

On Wednesday, April 21, 2004, 2:01:16 AM, Scott Truman wrote:
> I would have thought that a bit masked record was faster, as
> you already have all the data you need with the first call.
> From then on bitwise CPU operations would be umpteen times
> faster than 
> performing slower DNS callouts, even if they are cached. I am
> assuming, however, that perhaps the Spamassassin code 'caches'
> the first A record lookup for bitwise operations...I am not too
> familiar
> with the eval-rbl workings. It may be that it performs
> subsequent DNS lookups in either case? The only way to speed
> that up would be to load the first lookup into a variable for
> use in later 
> bitwise calculations...

Yes, you're right bitwise operations should be really fast.

I suppose the only downside is readability, but Sidney makes
some interesting arguments against that.

Jeff C.

More information about the Discuss mailing list