Stackless python and microthreads

"?=Dmitry Borisov=?koi8-r?Q?" jbors at mail.ru
Thu May 27 17:55:08 EDT 2004


> This is true. For performance comparison reasons, and to make
> Stackless "complete" in a way, I just developed real thread support
> and measured context switch speed. Now it is not longer a claim,
> but the truth (going to be Stackless 3.1):
> 
> Stackless soft-switched channels are 10 times faster than
> using real threads.
> 
> Stackless tasklets are 10000 times smaller than threads on Windows.
> 

Chris,
I was interested in measuring performance with some apps I have around here. 
I think I should recompile pygame for it as it crashes. 
Did you try pygame with stackless ? Any clue if it works ?

Thanks,
Dmitry/




More information about the Python-list mailing list