Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> writes: > > True... But maybe in NumPy arrays that would be more feasible...? > > Yes but that's in external libraries and not in the Python interpreter. > So it won't speed up Python code like list comprehensions but "just" calls > to external functions written in C, Fortran or assembler if those make use > of SIMD instructions.
Right, Python has such poor control over side effects that it has not much chance of parallelizing stuff like list comprehensions in general. Maybe there's some chance of doing it for some special cases with RPython. See http://www.google.com/search?q="nested+data+parallelism" for what's happening with some other languages. -- http://mail.python.org/mailman/listinfo/python-list