[PyKDE] performance issues

Dave Fancella dave at davefancella.com
Tue Jan 9 23:46:41 GMT 2007


On Tuesday 09 January 2007 5:34 pm, Steven James Samuel Stapleton wrote:
> Is there any reason that anyone could think of why I would be having these
> performance issues? It's probably not a PyQt issue, but I figured that was
> a possibility.

Are you creating them and then putting them into a layout right away?  If you 
do that, it becomes an O(n) operation, iirc.  Maybe O(n^2).  You should 
create them all first, then put them into the layout.

Dave




More information about the PyQt mailing list