Limit search to available items
Streaming video

Title Springer Nature computing video. Benchmarking, profiling, and optimizing your Python code / produced by Apress
Published New York, NY : Springer Nature, 2020

Copies

Description 1 online resource (93 minutes)
Series Springer Nature Computing Video
Summary Some programmers don't use Python because they think it is too slow. Yet writing fast-enough programs in Python often takes less time than in other languages. In this video, you will learn how to effectively and efficiently speed up your Python programs. We start by looking at how to measure the speed of a program, so you can see the impact of your changes. And we will discover where your program spends most of its time to help you focus your efforts. You will see how to create performance graphs and drill down into the detail. Next, we move on to optimizing the code by changing the flow and structure. Some approaches take more processing power than others, and we will look at how to use code complexity to express this and help you choose the best algorithm. We will see some examples of switching to a different algorithm and the impact on the code's speed. You will see some simple techniques to cache the results from your functions. Moving code out of large loops can also have a significant impact. Having restructured the code, you will learn how to speed up individual lines of code. We will look at ten common tasks in Python and compare the different ways to achieve them. After watching this video, you will be able to measure code performance to see what works, profile your code to discover where to focus, change the code structure and flow to improve speed, and go through your code line by line to use faster Python syntax
Notes Title from resource description page (viewed January 27, 2023)
In English
Subject Python (Computer program language)
Scripting languages (Computer science)
Computer programming.
computer programming.
Computer programming
Python (Computer program language)
Scripting languages (Computer science)
Genre/Form Educational films
Instructional films
Educational films.
Instructional films.
Films éducatifs.
Films de formation.
Form Streaming video
Author Groot, Coen de, on-screen presenter
Apress, production company
Springer Nature (Firm), film distributor.
Other Titles Benchmarking, profiling, and optimizing your Python code