On Jun 2, 2006, at 2:10 AM, Richard Jones wrote:
On Friday 02 June 2006 08:41, Bob Ippolito wrote:On Jun 2, 2006, at 1:36 AM, Richard Jones wrote: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.
Hurm. Did any of your speedup work touch packing? I've made use of packing in
the past to set up OGL vertex buffers etc.
-bob