|
|
|
|
|
by weberc2
2706 days ago
|
|
>> CPython is 100 to 1000 times slower than C > That's very context dependant. With annotations, typical calculations compile to C code roughly equivalent to native. The more of the actual runtime you use, the more you call into cpython which can't be sped up this way. Cython compiled code will be somewhere between C and cpython in terms of speed, but putting a single number to it will be always misleading. OP said "CPython", not "Cython". CPython is pretty reliably 100X to 1000X slower than C. |
|