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

Re: [pygame] sprite engine Top this!



On 5/1/06, DR0ID <dr0id@xxxxxxxxxx> wrote:
And also sometimes it seems to drop nearly 0.0 fps in the middle of
running and I do not know why! Can it be because of the garbage
collector? Or other memory related stuff?

It might be because the app is hogging the CPU (which makes sense when
trying to run as high fps as possible) and never letting other
programs run, so other apps are grabbing time slices to do what they
need to after being starved for a bit

Kevin Turner posted good info to this list on that issue before:
http://aspn.activestate.com/ASPN/Mail/Message/pygame-users/3102730