Improving performance with Stackless Python
github.com
github.com
Exceptions and threads don't mix well however, so using Stackless' microthreads with code that relies on exceptions will likely lead to slowdown, so there are a few things to be aware of.