Re: [PyOpenGL-Users] Pyopengl - slow performance using
Brought to you by:
mcfletch
From: Jonathan H. <ta...@ta...> - 2011-01-13 12:16:30
|
On 13/01/2011 11:50, Alejandro Segovia wrote: > I find it puzzling that you didn't notice any speedup at all after doing this. Python lists are just linked lists, which means they are probably not consecutive in memory, but rather, they have to be converted to an array at each call to drawArrays. Hey. I'm guessing this implies there is something else going on which is massively slower, swamping the change from lists to numpy arrays. This hypothesis is borne out by the reported performance of 20 secs per frame. :-) -- Jonathan Hartley Made of meat. http://tartley.com ta...@ta... +44 7737 062 225 twitter/skype: tartley |