3 ms·
That is a fragile benchmark. For simple scripts where you rely exclusively on python procedures that are written in C python is often very fast. Once you start
by bjoli 8y ago
That is a fragile benchmark. For simple scripts where you rely exclusively on python procedures that are written in C python is often very fast.
Once you start working on that data using procedures actually written I python performance is usually far from stellar.
I have had that happen to me many times. Back in the guile 2.0 days I tried porting some utils to python based on preliminary benchmarks that were often an order of magnitude faster than my guile ones, but when the logic was implemented the difference was gone. Then guile 2.2 (and now guile 3) happened and everything got magically faster, even though less and less of the runtime is written in C.