-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 08 Jun 2006 17:06:43 +0100
Ian Eiloart <[EMAIL PROTECTED]> wrote:

> That's fair enough. I do have an idea about how to use a python
> script with Exim. I don't know enough to make it efficient, though.
> Maybe there's a problem with my python installation, or the way that
> I invoke it, but it seems that even a simple query takes four or five
> seconds to run:
> 
> rinka-12 # date ; /local/mailman/bin/list_members ian-test4 ; date
> Thu Jun  8 16:47:09 BST 2006
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> Thu Jun  8 16:47:13 BST 2006
> 
> But, it takes about 0.7 seconds to print "hello world", and truss
> shows a lot of files being opened just to get a list of members.

You should definitely use time(1) instead, but to open and print a 3
member list should be nearly instantaneous.  FWIW, it only takes me
about 1/2 second to do the same on a 2500 member list on fairly old h/w.

- -Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iQCVAwUBRImPMHEjvBPtnXfVAQICTQQArHcq2KOwZuFnRFj+gwJn+N2HAuNT7qwD
epQwc+zEfrSJ8Q1VECMh+g9/nDSHI2h7sp10ST46NMaj60Fyhr7TahSrfNsEZzgQ
5jhuQAPA0wdKUFciCVIRNrrkJCLJLIMjQ6sJXDil2BVT858MlR+XvrH77cahw4HZ
O/VCDexviSQ=
=Id8s
-----END PGP SIGNATURE-----
_______________________________________________
Mailman-Developers mailing list
Mailman-Developers@python.org
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

Reply via email to