8 small changes to optimise your Python code

Martin McBride
Geek Culture
Published in
10 min readMar 16, 2022

--

Low-level coding changes that can speed up execution

Photo by Chris Liverani on Unsplash

This article looks at low-level code optimisation techniques. These techniques often involve changing individual lines of code to do the same thing in a slightly different way, with the aim of making the code run faster.

Used with care, these techniques can speed up key sections of code that are current…

--

--