[Cython] CEP: prange for parallel loops
Nathaniel Smith
njs at pobox.com
Mon Apr 4 15:27:50 CEST 2011
On Mon, Apr 4, 2011 at 3:17 AM, Dag Sverre Seljebotn
<d.s.seljebotn at astro.uio.no> wrote:
> * A simple and friendly solution that covers, perhaps, 80% of the cases,
> based on simply replacing range with prange.
This is a "merely" aesthetic objection, while remaining agnostic on
the larger discussion, but -- 'for i in prange(...)' looks Just Wrong.
This is not a regular loop over a funny range, it's a funny loop over
a regular range. Surely it should be 'pfor i in range(...)'. Or better
yet, spell it 'parallel_for'.
-- Nathaniel
More information about the cython-devel
mailing list