|
|
|
|
|
by chubot
2119 days ago
|
|
C is frequently 100x faster than Python for code like the example I showed. With autovectorization and other optimizations it can be 500x. So if a Python JIT does 10-50x better than CPython on a numeric workload, that sounds impressive, but it's still slow compared to C. And again they don't get 10-50x on string/hash/method call workloads. I think they're lucky to get 2x in some of those cases. |
|