News for hackers. Stuff that matters.
Re:Optimizing Python – A Case Study by adrianN on Friday May 29, 2015 @03:19AM (#9623191)
In my experience it is worthwhile to first try and improve the performance in Python. It's easier to play around with different ideas in Python, and things like numpy quite often enable you to get "fast enough". Only if that is not enough should you consider writing a C extension.
Re:Optimizing Python – A Case Study by ryan_sb on Friday May 29, 2015 @02:25PM (#9626388)
Python makes it easy to do lots of things -- including very inefficient ones. Profiling your existing stuff and trying to optimize in pure Python often gets you pretty far.