3 ms·
> Or have I just misunderstood this completely and python actually is unusably slow for common things? I use python for some side-projects at work and for most
by qsort 4y ago
> Or have I just misunderstood this completely and python actually is unusably slow for common things?
I use python for some side-projects at work and for most of my personal stuff and it's mostly fine, but its general slowness/big memory footprint implies that you can't just write stuff the "easy" way, you have to use the "fast" API or else it's terrible, and that's infuriating. It's as though the power of your machine is partially hidden from you and you have to go around that limitation.
It also feels like it "should" be faster than it is, which compounds the frustration.
OTOH many performance losses come from using the wrong algorithm, often implicitly (wrong SQL query, wrong caching policy, wrong data structure), and Python is generally fine in that respect, much more than many other high-level languages in fact: the pythonic way is usually also algorithmically efficient.
- nextlevelwizard 4y agoI write a lot of python code at work. Mostly tools, but sometimes protocol libraries for our testing framework and while I've sometimes gotten complaints about performance of some of my tools usually when I end up profiling the tool it spend most of its time outside of python. Which is why I am a bit curious why many people think python is so slow it is not worth even using.