Re: Problem using idle_add method



On Mon, Mar 22, 2004 at 02:23:27PM -0500, muppet wrote:
| but be very careful with idles --- they can really soak up CPU cycles if you
| don't get the priorities right.  a timeout at about 200ms may be easier on
| your system's load.

Yes, I certainly found this. In my app I've switched from an idle loop to
a 500ms timeout and the improvement in performance is dramatic.

-- 
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

Attachment: pgp8p3Ow_ERqi.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]