Queue cleanup
Paul Rubin
no.email at nospam.invalid
Mon Aug 30 07:10:06 EDT 2010
Gregory Ewing <greg.ewing at canterbury.ac.nz> writes:
>> These days I think the GC pause issue is overrated except for real-time
>> control applications.
>
> Also for games, which are a fairly common application
> these days. Even a few milliseconds can be too long when
> you're trying to achieve smooth animation.
The usual hack with games is you do a major gc when the user advances
between game levels. You can do minor gc's during the screen refresh
interval.
> I'd be disappointed if CPython ditched refcounting and
> then became unsuitable for real-time games as a result.
Refcounting is susceptable to the same pauses for reasons already
discussed.
More information about the Python-list
mailing list