|
|
|
|
|
by deathanatos
2465 days ago
|
|
In fact, you can transpile Python to C with Cython. That typically gets one a speed boost, but only a bit. You still have most of the memory allocation/deallocation overhead of Python objects getting created and destroyed, and all the work needed to keep attributes tracked, so a straight C version with no focus towards optimization would likely outperform it greatly. (A neat tool in one's toolbox, of course. But just transpiling to C does not get one as fast as C.) |
|