[Mimedefang] $Features not showing Net::DNS

David F. Skoll dfs at roaringpenguin.com
Thu Apr 9 13:18:28 EDT 2009


Andrzej Adam Filip wrote:

> Anyway SpamAssassin avoids "one socket per one DNS query" it its DNS
> lookups perl package

This is true.  On the other hand, it replaces a 75-line function with
1473 lines of perl.  I wonder which has more overhead?

You are right about one thing:  If you are using SA anyway, then you
might as well try to reuse its DNS code.  But holding up SA code as an
example of "performance-optimized perl" is pretty ridiculous. :-)  SA
is a huge, bloated, infected-with-not-invented-here-syndrome pig.

Regards,

David.



More information about the MIMEDefang mailing list