- Python High Performance(Second Edition)
- Gabriele Lanaro
- 130字
- 2021-07-09 21:01:57
Summary
Algorithmic optimization can improve how your application scales as we process increasingly large data. In this chapter, we demonstrated use-cases and running times of the most common data structures available in Python, such as lists, deques, dictionaries, heaps, and tries. We also covered caching, a technique that can be used to trade some space, in memory or on-disk, in exchange for increased responsiveness of an application. We also demonstrated how to get modest speed gains by replacing for-loops with fast constructs, such as list comprehensions and generator expressions.
In the subsequent chapters, we will learn how to improve performance further using numerical libraries such as numpy, and how to write extension modules in a lower-level language with the help of Cython.
- 程序員面試筆試寶典(第3版)
- Raspberry Pi for Python Programmers Cookbook(Second Edition)
- 工程軟件開發技術基礎
- MySQL 8從入門到精通(視頻教學版)
- HTML5 Mobile Development Cookbook
- Java FX應用開發教程
- Apache Spark Graph Processing
- 深入淺出Windows API程序設計:編程基礎篇
- Monitoring Elasticsearch
- Visual C#.NET程序設計
- Swift細致入門與最佳實踐
- C++程序設計
- 大數據時代的企業升級之道(全3冊)
- Python預測分析與機器學習
- Scrapy網絡爬蟲實戰