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

You can't really. The slow parts of computers are memory and branches.

Branches cannot be reasoned about since they are all in the Cpython state machine.

Memory performance is about being efficient with allocations, cache locality, and pointer chasing.

Python has huge amounts of allocations and pointer chasing. Its by design slow.



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

Search: