Geek Culture
Published in

Geek Culture

8 small changes to optimise your Python code

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…

--

--

--

A new tech publication by Start it up (https://medium.com/swlh).

Recommended from Medium

Jenkins Case Study: Gainsight

Learning Rust: All about Strings

Scrum Overview: Learn the basics crystal clear.

The journey continues, it’s the end of the second month and we’re not even half way through the…

Do Not Worry PHP is still alive (Node Vs PHP-7)

Flip: Changing the Narrative on Suicide

Get Started Your First Mobile Top Down Shooting Game Development With Unity Visual Scripting Part 2

HOW TO DEPLOY A .NET CORE API TO AWS USING TERRAFORM AND DOCKER

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Martin McBride

Martin McBride

Software developer. Java, Python, C++ etc. I write for pythoninformer.com and maintain the generativepy library.

More from Medium

11 Pythonic Ways to Optimise your Code

4 Ways To Annoy Your Colleagues With Your Python Code

4 Must-Know Decorators from the Functools Library in Python

credit due to Ameen Fahmy

Python is deprecating some old modules in their 3.13 version of the language