Chapter 9. Improving Performance – Part Two, NumPy and Parallelization
This is the final chapter in the series of the three chapters on performance improvement. It will introduce you to two important libraries, NumPy, a third-party package, and the built-in multiprocessing module. In this chapter, we will cover the following topics:
- A brief introduction to the NumPy package
- Using NumPy to speed up the Gold Hunt application
- An introduction to parallel processing using the
multiprocessing
module - Using the
multiprocessing
module to further improve the application runtime
Get Learning Python Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.