Computer Science question (python list is slow with my cruddy algorithm )

Gerhard Häring gerhard.haering at opus-gmbh.net
Fri Aug 23 06:07:24 EDT 2002


In article <3D660562.9030503 at unicode.cz>, Jirka 'Eagle' Novak wrote:
> [populating a large array]
> Running multiple threads to populate the matrix could be a nice trick if
> you have a more than one CPU (assuming python wouldn't be against it
> ;-)).

That wouldn't help at all with CPython, because of the Global Interpreter
Lock (GIL).
-- 
Gerhard Häring
OPUS GmbH München
Tel.: +49 89 - 889 49 7 - 32
http://www.opus-gmbh.net/



More information about the Python-list mailing list