addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobe--smallglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1launch-new-window--smalllight-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: [python-189] Python performance anti-patterns

From: David C.
Sent on: Wednesday, January 9, 2013 3:10 PM
I was actually kidding. Python is far from slow :)

It's common that someone will try to "optimize" something by suggesting writing it in a different language, when their bottleneck is absolutely unrelated
to interpreter speed.

-- 
David Cramer

On Wednesday, January 9, 2013 at 3:03 PM, Jimmy Retzlaff wrote:

On Wed, Jan 9, 2013 at 12:52 PM, David Cramer <[address removed]> wrote:
The best one:

Python is slow.

I would expand on that...

Python is slow, but Python makes it relatively easy to experiment with alternative algorithms and data structures which are where you typically get your biggest performance gains. Once you've largely exhausted those avenues, and if things are still too slow, then look at other options (different Python constructs, other Python implementations, other languages, etc.).

Jimmy




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Jimmy Retzlaff ([address removed]) from San Francisco Python Meetup Group.
To learn more about Jimmy Retzlaff, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]

Our Sponsors

  • Yelp

    Platinum Sponsor, also a host for majority of our events.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy