On, Mon Aug 21, 2006, Alex Holkner wrote:
[...]
In the more general case, the small amount of Python wrapper that exists
on every Pygame-ctypes function will indeed make it perform slower than
its Pygame counterpart. I would argue that if this small performance
penalty is significant for a particular project, then that project is
not really suited to be implemented in Python.
If a small penalty of e.g. 0.5ms in a function exists and this function
is called 50 times in your project code you'll have a total penalty of
2.5 ms already. Now let's assume, this function is (or must be) called
periodically...
If the author now mourns about that, are you going to tell him, that
his projects is not suited to be implemented in Python?