[Q]python thread speedup?

Gerson Kurz gerson.kurz at t-online.de
Sat Aug 18 05:27:54 EDT 2001


On Fri, 17 Aug 2001 15:44:02 -0700, "Seung-won Hwang"
<shwang5 at students.uiuc.edu> wrote:

>I'd appreciate any comments that possibly explain this speedup.
Just a guess: are you perhaps doing I/O in your routine ? I/O (like
reading from disk files and so on) can block the current thread, while
other threads can perform calculations at the same time, provided they
don't do I/O, too.  




More information about the Python-list mailing list