"Seon Kang" <[EMAIL PROTECTED]> wrote

> When I run some of my games on python,  I notice they seem to lag 
> and take
> up a large portion of my CPU when the game itself is actually pretty 
> simple.
> why does this happen? I run a window XP and my computer should have 
> no
> problems with this simple of a game. Is the problem in my 
> programming? Are
> there any things to look out for in a program that would get rid of 
> this lag
> problem?

Its hard to guess without examples. But classic things to be aware
of are infinite loops while waiting for input. These will keep the 
computer
busy even while its not really doing anything...

Alan G 


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to