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

Re: [pygame] Psyco and pygext




On Jul 26, 2006, at 7:39 PM, spotter . wrote:

I just came across psyco today and I was using it and did not really
see any difference in frame rates in pygame. Would psyco even help in
that? Basically, when would psyco help when using it with pygame?

psyco can make some Python code run faster. When Python code is the bottleneck, psyco can help.


Also, I found pygExt today, and was wondering if anybody had used it
and had any thoughts on it rather than using just pygame. Is it any
slower than using just pygame? It does look like it would help
abstract a lot of things and make development easier.

It's impossible to say whether it'd be faster or slower. The only way to know would be to write both and benchmark. The limiting factor is probably more how you write the code rather than what you use.


It's probably easier to write fast code using something like pygExt, since it has an OpenGL sprite engine.

-bob