Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I agree with everything you say but continually find cases where things have to be rewritten in Cython / using the CPython C-api or moving core logic to numpy. Knowing that you cant be interactive if your solution requires

a) allocating more than 160k objects

b) creating more than 22k numpy arrays

c) entering a with context more than 3700 times

d) doing a single for loop of over a million elements

can save you time from the get go. I am not suggesting that you cant write fast interactive code in Python, I am saying you wont write fast code by accident.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: