26 ms·
Python code which uses stuff mostly from the standard libraries isn't really that slow. Parsing a JSON? Call a wrapped C function. Process a media file? Call a
by bluetomcat 6y ago
Python code which uses stuff mostly from the standard libraries isn't really that slow. Parsing a JSON? Call a wrapped C function. Process a media file? Call a wrapped C function. If you keep the actual CPU-intensive stuff in C code, the ops executed by the Python interpreter can be negligent.
- michaelt 6y agoThat Python's performance doesn't matter because you can write things in C instead is faint praise indeed.
- BiteCode_dev 6y agoYou don't need to write it. The ecosystem is already chock full of compiled extensions. That's kinda the point.