[Chicago] Common mistakes that can slow down Python

Jason Wirth wirth.jason at gmail.com
Sat Mar 1 16:36:45 CET 2014


Using pure python instead of Numpy.
For more examples of performance gains take a look at Yves talk:
http://vimeo.com/79581807

Numpy also has the benefit of being more expressive when dealing with
numerical calculations.

x = np.linspace(0, 10)
y = a * x + b


On a side note, you asked a great question, but I'm not a huge fan of Quora
blurring the answers until you give them your personal information.
Programmers.stackexchange is a great place to ask open ended questions that
might not be suitable for StackOverflow.



-- 
Jason Wirth
    213.675.5294
    wirth.jason at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20140302/144cf7e7/attachment.html>


More information about the Chicago mailing list