3 ms·
A trick that makes Python faster than C++
- emteycz 6y agoI'm pretty sure you can do a similar trick with C++.
- alecmg 6y agoBut then your C++ code will grow to be multiple times bigger than Python. And you will spend even more time on implementation.
- dagw 6y agotl;dr Use Numba
- souptonuts 6y agoOne weird trick. CPU’s hate him!