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
multiprocessingmodule - Using the
multiprocessingmodule to further improve the application runtime