[Twisted-Python] Breaking up long computations

Itamar Shtull-Trauring itamar at itamarst.org
Wed Aug 6 10:58:26 EDT 2003


On Wed, 06 Aug 2003 10:55:49 +0200
Nicola Larosa <nico at tekNico.net> wrote:

> Let's say I have a matrix and want to make some computation on its
> elements(this does not involve Numeric or numarray, by the way, it's
> just an example):

If it does, you should use a thread, since hopefully they release the
global interpreter lock and thus will be faster on SMP machines, and
maybe even regular machines.

-- 
Itamar Shtull-Trauring    http://itamarst.org/
Available for Python & Twisted consulting




More information about the Twisted-Python mailing list