From: Gerrit Holl <gerrit@nl...> - 2003-10-07 19:43:55
I have written an (unfinished) Pygame application and applied Psyco to
run it. Instead of speeding it up, Psyco slows it down by 50%. Instead
of 14 fps, it now runs at 7 fps. I have a lot of graphics code and
collision checking code. The code can be found at
Does anyone have any idea what may be the cause for this?
190. If a man does not maintain a child that he has adopted as a son
and reared with his other children, then his adopted son may return to his
-- 1780 BC, Hammurabi, Code of Law
Asperger Syndroom - een persoonlijke benadering:
Kom in verzet tegen dit kabinet:
On Tue, Oct 07, 2003 at 09:43:48PM +0200, Gerrit Holl wrote:
> I have written an (unfinished) Pygame application and applied Psyco to
> run it. Instead of speeding it up, Psyco slows it down by 50%. Instead
> of 14 fps, it now runs at 7 fps.
How do you use Psyco, with psyco.full() ? Or psyco.profile() ? Try the other
If it doesn't help I would suggest that you try to target specific functions.
For example the collision checking code might be accelerated, so try
psyco.bind(xx) where xx is the main (top-level) function that does it.
If it still doesn't help I will have a look at it.