[PyQt] optimization

Diez B. Roggisch deets at web.de
Mon Dec 3 21:03:20 GMT 2007


Linos schrieb:
> hello,
> 	i would like to know if exist any link about specific optimization tips for python using pyqt i am trying to
> optimize the code the most possible to try to maintain in pyqt and not have to reprogram in c++, for example
> do have psyco good results?

What optimization are you talking about? Psyco is about optimization of 
numeric calculations. (Py)Qt has nothing to do with that. And you can 
use them together, yes.

GUI-code as such is seldomly in need for optimization. With the 
exception of e.g. real time graphics for games or scientific visualization.

Regardless of what you actually need - don't optimize prematurely. Just 
code correct code - then profile it to see where it lacks performance.


Diez


More information about the PyQt mailing list