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

Re: [pygame] Re: SDL-ctypes progress




On Jun 2, 2006, at 1:36 AM, Richard Jones wrote:

On Friday 02 June 2006 08:23, Rene Dudfield wrote:
Following pyopengls methods for using numeric/numpy for ->pixels is a
good plan.  For the future, in 2.5 there has been work on writable
buffers.  Also there is a SoC project which aims to get a simple
numeric like interface into python.

Python 2.5 also has speedy new struct code which may come in useful.

Well, struct wouldn't be all that good for working with buffers full of pixels; it doesn't do anything lazily.. unpacking creates tuples full of stuff, rather than returning some kind of proxy object that creates numbers on demand like numeric/numpy/ctypes.


-bob