efficiently create and fill array.array from C code?
Robert Kern
robert.kern at gmail.com
Sun Jun 13 16:20:46 EDT 2010
On 2010-06-13 14:17 , Stefan Behnel wrote:
> Stephen Hansen, 13.06.2010 21:05:
>> On 6/13/10 11:41 AM, Stefan Behnel wrote:
>>> Take a look at a) NumPy and b) Cython. You can also use Cython with the
>>> array module, but NumPy is a much more common way to deal with "number
>>> crunching routines", especially multi-dimentional arrays.
>>
>> Does Cython support Py3k yet? The OP seemed to be concerned about using
>> numpy due to it not yet being ready for 3+.
>
> I didn't read that from the post, but you may be right.
>
> Cython supports Py 2.3-3.1+, but NumPy still does not support Py3k (they
> are actually considering to rewrite parts of it in Cython to simplify
> the migration ;).
The latest SVN of numpy works in Python 3.1 already. There are still some things
to be fixed, but it's mostly done.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-list
mailing list