[OLPC-Games] Reducing pygame cpu-load to < 4 %

Rachid El Guerrab rachid.el.guerrab at gmail.com
Mon Dec 10 14:25:42 EST 2007


Simulation doesn't depend on user input every frame. So any game that uses
any simulation code (ball falling, stars blinking, whatever...) will ne cpu
time even when no user input is present.

It can be minimized a great extent, but not zeroed out.

-rachid

On Dec 10, 2007 11:11 AM, Jim Gettys <jg at laptop.org> wrote:

> There is one piece of this discussion that is scaring the bejesus out of
> me: the idea that an application should take *any* cpu time when the
> user isn't doing anything...  Is this specific to pygame based
> applications? Or am I missing something?
>
> Electricity doesn't grow on trees, you know....  In Peru, 55,000 of the
> machines will be going to schools/kids with *no* electricity.  And this
> is just the beginning...
>                           - Jim
>
> --
> Jim Gettys
> One Laptop Per Child
>
>
> _______________________________________________
> Games mailing list
> Games at lists.laptop.org
> http://lists.laptop.org/listinfo/games
>



-- 
- rachid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/games/attachments/20071210/aa062375/attachment.htm 


More information about the Games mailing list