[Edu-sig] Introducing Python to Engineering Students

Rob Malouf rmalouf at mail.sdsu.edu
Tue Mar 11 23:12:22 CET 2008


On Mar 11, 2008, at 2:57 PM, David MacQuigg wrote:
>  I guess what I should conclude is that when performance is  
> important, don't bother trying to optimize Python.  Go straight to  
> C, and get 10 or 100X improvement.

That hasn't always been my experience.  I found that using psyco and  
numpy (along with careful profiling and optimization), I can often get  
essentially the same performance from pure Python that I can get from  
mixed Python/C solutions, and with much less trouble.

---
Rob Malouf <rmalouf at mail.sdsu.edu>
Department of Linguistics and Asian/Middle Eastern Languages
San Diego State University




More information about the Edu-sig mailing list