How to make python run faster

lbonafide at yahoo.com lbonafide at yahoo.com
Mon Apr 14 09:59:43 EDT 2008


On Apr 14, 8:48 am, 一首诗 <newpt... at gmail.com> wrote:

> But, it is still not as fast as 1.


So if speed is the #1 design goal, use pure C.  If not, develop in
pure Python and, if the application is too slow, profile the code and
look for bottlenecks that can be optimized.  There's a good chance
that they can be resolved algorithmically, not by simply dropping down
to C.



More information about the Python-list mailing list