On Sun, Jan 04, 2004 at 06:03:37PM +1100, Jason R. Mastaler wrote:
> Guy Middleton <[EMAIL PROTECTED]> writes:
> 
> > to-file ~/.tmda/lists/whitelist tag envelope dated from bare
> > 
> > The whitelist has
> >     3 patterns like this:
> >             [EMAIL PROTECTED]
> >     10 patterns like this:
> >             [EMAIL PROTECTED]
> >     19 patterns like this
> >             [EMAIL PROTECTED]
> >     762 plain addresses
> 
> Some tips for speedup.  Convert as many wildcards into plain domains
> as possible, and then move the remaining wildcards into their own
> file.  Reference the whitelist before the wildcard file, and add
> -autodbm to the whitelist file.  e.g,
> 
> to-file -autodbm ~/.tmda/lists/whitelist tag envelope dated from bare 
> to-file ~/.tmda/lists/wildcards tag envelope dated from bare 

This helps a lot, now the best-case and worst-case times are about the same:

$ time mutt [EMAIL PROTECTED] <.shrc

real    0m1.50s
user    0m1.03s
sys     0m0.34s


I also upgraded Python from 2.2 to 2.3, but it had no effect on speed.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to