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

Re: [pygame] Rain Generator



Farai Aschwanden wrote:
I experienced a tiny lag like every 3 seconds.

There's a chance it's due to Python's cyclic garbage collector. You could try disabling that and see if the pauses go away.

(If it does, you'd better then check whether you're
gobbling up increasing amounts of memory and take
steps to break cycles if necessary.)

--
Greg