[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Pygame and Psyco




I too have been experimenting with psyco a lot lately. For intensive
number crunching (AI, pathfinding, line-of-sight etc.) it really does help
a lot. Makes writing an extension for speed-critical parts a much less 
attractive choice.

Some hints:

Psyco can optimize integer arithmetics a lot better than floating point. 
Replacing float calculations with fixed-point integer math can make a 
routine several times faster.

Also, there is a bug in the current (0.4.1)  release that causes psyco to
crash on some platforms when using Numeric. This is fixed in CVS.

--
Sami Hangaslammi

____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org