Is there any performance difference in using CONTAINS vs. ENDSWITH?

Yes. ENDSWITH will provide better performance. In most cases, there will not be a huge difference, as ENDSWITH is typically used on short strings (reverse DNS, MAILFROM, etc.). However, for testing BODY or HEADERS, there would be a large performance gain by using ENDSWITH.


-Scott
---
Declude JunkMail: The advanced anti-spam solution for IMail mailservers.
Declude Virus: Catches known viruses and is the leader in mailserver vulnerability detection.
Find out what you've been missing: Ask about our free 30-day evaluation.


---
[This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)]

---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.

Reply via email to