[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] fastevent example/test not so fast.
- To: pygame-users@xxxxxxxx
- Subject: [pygame] fastevent example/test not so fast.
- From: Rene Dudfield <renesd@xxxxxxxxx>
- Date: Tue, 2 Aug 2005 15:40:09 +1000
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Tue, 02 Aug 2005 01:40:23 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=UT1X12uIF5w72sU7YTwRnxKunCuDno2AYKcsA8EgHMB+CEYhb7SYyVaYwedMJxwIQZdCIP3f73VO7X/RdXbeRGYBlPhMkeUf+j+8riq7E+R5Kzscmu4R4I6cQrikzASqfFOpaFv9+XMwbhC2ID/nFuq43CtRHJdVcfGBEPPsYV0=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hey,
I wrote a new example for pygame.fastevent. However it seems that
fastevent is actually slower than the normal event functions. Only
tested on windowsXP so far, cause my linux machine isn't in a state to
compile pygame.
example/fastevent.py
If anyone on macosx, or linux could test it out, that'd be great.
Edit the file, and at the top there are a few config variables. It
prints out the events/second
Chairs.