Python speed

Aahz Maruch aahz at
Wed Jul 11 11:53:27 EDT 2001

In article <9ifo90$4hh$1 at>, jcm  <grumble at> wrote:
>Well, I say this because I've written a mud engine in Python and it's
>slow.  Using this engine on a PII 266 running RedHat 6.1, 400
>wandering monsters (with nothing else going on in the mud) will peg
>the cpu.  In a production mud, you might want to do something
>intelligent about wandering monsters (like have them stop wandering if
>no players are nearby to save cpu-time), but there will also be lots
>else going on.

What we have here is a clear failure to communicate.

Look, if you have *one* monster sitting in a computation-intensive loop,
you're going to peg the CPU no matter what language you're using.  The
question is, how efficient and fast is each pass through the loop, and
how responsive is the loop to external input?  Don't make the mistake of
measuring the wrong things.
                      --- Aahz  <*>  (Copyright 2001 by aahz at

Hugs and backrubs -- I break Rule 6       
Androgynous poly kinky vanilla queer het Pythonista   

"How come we choose from just two people for President but more than 50
for Miss America?"  --AEN

More information about the Python-list mailing list