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

Re: [pygame] Dirty rectangle rendering group



On Jan 12, 2004, at 11:17 AM, Pat Johnson wrote:

On Mon, 12 Jan 2004 02:54:52 +0100, Fredrik Johansson wrote:
You should check out Psyco (http://psyco.sf.net). I tested it with
your code and it provided a speedup of about 20%. Not that much,
but it might certainly make a difference on a low-end computer.
Thanks for the tip. I'll put testing with Psyco on my list of things to do before launching the game. It's too bad that Pysco only runs on x86 right now since one of the other very appealing things about Python (and Pygame) is the ability to go multi-platform with little or no code changes. Being able to do that, and get a nice speed boost from Pysco on multiple platforms would be ideal. Oh well, small steps to bigger things. :)
Psyco does run on other platforms, just not in assembly. At least in Psyco CVS, Armin has developed a "tiny VM", written in C, that is faster than Python's VM for typically-accelerated Psyco code. I haven't really run any benchmarks on PPC, but acceleration is out there :)

-bob

Attachment: smime.p7s
Description: application/pkcs7-signature