Hacker News new | ask | show | jobs
by tomp 11 days ago
No language will save you from inefficient memory allocation patterns.

But if you can optimize C, most often you can also optimize Python.

I have a SLAM implementation in pure Python+Numba where all points/keyframes are kept in a single flat table, no allocation.