ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pygame-users
pygame-users
Re: [pygame] 99 CPU use?
by Michael other posts by this author
Apr 28 2004 4:30PM messages near this date
Re: [pygame] 99 CPU use? | Re: [pygame] 99 CPU use?
>  I have set the framerate down to 20 and it makes a difference (comes 
>  down to 45-60 CPU use), but it is also slower of course.
>  Is there any tutorial where I could check optimising tricks or 
>  techniques?

You might also look at how you're polling events and see if you can 
choose a method that is less intense. No need to keep looping if you can 
just stop and wait for the next event. You might try to cut back on how 
much you're drawing to screen each frame. See if you can update only 
part of the screen each pass and possibly only update changes every 
couple passes.
Thread:
enrike
Michael

Michael

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved