Python Performance Optimization



What you will learn

Make Python run faster

Tricks to speed up your code

How to call C code from Python

Best practices

Description

Python is an interpreted, object-oriented programming language. it incorporates modules, exceptions, dynamic typing, very high level dynamic data types, and classes. python combines remarkable power with very clear syntax.

Despite it’s popularity, it’s often accused of being slow. In this course you will learn how to optimize the performance of your Python code. You will learn various tricks to reduce execution time.

A lot of people have different definitions of performance. When I say “performance”, I’m talking about:


How quickly does the code execute? Meaning how long until the output is returned?


Of course, there are other metrics for measuring the performance of a system, but this code has a focus on speed.

The faster your code executes, the better it is. Who has time to wait for computer execution? Especially when it’s not necessary. If you come from another programming language, you may not know about some ways to speed up your Python code. If you are a Python coder, you may not know about these tricks either.

If you already know Python and want to optimize your code or increase your Python skills, this course is for you. This is an intermediate course, you should already know how to write Python code. But if you are a beginner with prior programming experience, you might be able to follow along with all the concepts explained in this course.

English
language

Content

Introduction

Introduction
Measure Execution Time
Cprofile
More on profiling
Quiz

Quick Tips

Tip 1
Tip 2
Quiz

Optimizing code

Introduction
Builtin Functions
Additional Info
Functions
Lists
Additional info
Modules
Concat
Quiz

Speed Trick

Introduction
Speed Trick
Speed Trick: Additional

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
Best Wordpress Adblock Detecting Plugin | CHP Adblock

Check Today's 30+ Free Courses on Telegram!

X