Python is slow

Luis M. González luismgz at gmail.com
Sun Dec 21 18:52:48 CET 2008


On Dec 21, 2:34 pm, r <rt8... at gmail.com> wrote:
> RTFM, use as much python code and optimize with C where needed,
> problem solved!

That's true if your *really* need C's extra speed.
Most of the times, a better algorithm or psyco (or shedskin) can help
without having to use any other language.
This is unless you are hacking a kernel, writing device drivers or 3D
image processing.
For anything else, python is fast enough if you know how to optimize
your code.

Luis



More information about the Python-list mailing list