Strange array.array performance

Robert Kern robert.kern at gmail.com
Thu Feb 19 14:35:45 EST 2009


On 2009-02-19 12:52, Maxim Khitrov wrote:
> Hello all,
>
> I'm currently writing a Python<->  MATLAB interface with ctypes and
> array.array class, using which I'll need to push large amounts of data
> to MATLAB.

Have you taken a look at mlabwrap?

   http://mlabwrap.sourceforge.net/

At the very least, you will probably want to use numpy arrays instead of 
array.array.

   http://numpy.scipy.org/

-- 
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