Speed of data structures in python

Dave dmieluk at exemail.com.au
Fri Mar 10 07:24:46 EST 2006


Hi. I am learning PyOpenGL and I am working with a largish fixed scene  
composed of several thousand GLtriangles. I plan to store the coords and  
normals in a NumPy array.

Is this the fastest solution in python? would i be significantly better  
off (timewise or otherwise) using some other data structure to hold this  
information? no other data structure appears as convenient, but am i  
loosing valuable time?

I am new to 3d programming so please feel free to state the obvious,  
thanks.

Dave.


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/




More information about the Python-list mailing list