[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Numpy slower than Numeric



Brian Fisher wrote:
On 12/28/06, Kamilche <kamilche@xxxxxxxxxxxx> wrote:
So - what does this mean for Pygame? It appears to me there is no good
reason to use numpy, if you have to convert to/from Numeric arrays to
get it to work right anyway.

what it means is that Pygame would need to be changed to use numpy
arrays for it to make sense for your python code to use them. (i.e.
all the surfarray and soundarray stuff that takes & returns numeric
arrays would need to take & return numpy ones)

Well, pygame compiles with numpy, but not everything works right. So it is not a simple switch.

--
Lenard Lindstrom
<len-l@xxxxxxxxx>