Ten Tricks To Speed Up Your Python Codes
Tiny improvement at each step, great leap as a whole
Published in
8 min readFeb 23, 2020
Python is slow.
I bet you might encounter this counterargument many times about using Python, especially from people who come from C
or C++
or Java
world. This is true in many cases, for instance, looping over or sorting Python arrays, lists, or dictionaries can be sometimes slow…