3 ms·
That sounds irrelevant to Python and just a matter of slow code cropping up in libraries until someone runs a profiler.
by 0cf8612b2e1e 3y ago
That sounds irrelevant to Python and just a matter of slow code cropping up in libraries until someone runs a profiler.
- littlestymaar 3y agoBut then again if your program have places where choosing the right Python primitive is important for performance, then using python is affecting performance here since even the best algorithm in Python would be slower than the equivalent C. Most of the time it doesn't matter because there's nothing hoy on the Python side, but if there is, then Python is going to be slowing your stuff down.