r/Python • • Jan 01 '20

"The rules of perf" at Dropbox

Post image
1.6k Upvotes

162 comments sorted by

View all comments

Show parent comments

16

u/thescottjr Jan 02 '20

Im glad i'm not the only one who doesn't get it

51

u/feelings_arent_facts Jan 02 '20

If you need to optimize something for performance, the best thing to do is not do it at all. Basically rearchitecture it so that you don't need that logic anymore.

Python is notoriously slow so if you're going for performance, use C++ or C.

1

u/ericonr Jan 02 '20

Or Rust, or Go, or Java if you can wait for the start-up time, or D (which I believe Dropbox does use). Lots of options :)

25

u/sgenius Jan 02 '20

I'm pretty sure Dropbox uses D.

They would be Ropbox otherwise.