procmail
[Top] [All Lists]

stumped by egrep -f for whitelist

2002-06-20 15:44:17
I am using egrep -if to test for the presence of email addresses 
in a whitelist.  Once I get to about 200 entries in my whitelist,
then the process time is about 4 seconds but doubles with
250 entries.  Some of the entries are regexes like:
(_dot_)*(_at_)domain\(_dot_)com, but this seems not to be a time-expense factor.
Whitelist could easily grow to thousands of entries.

Someone suggests look that does binary searches and this looks
like a good solution but does not support regexes.

What is the best solution here?

-- 
Eric Smith
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>