- 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.
- 深入淺出Android Jetpack
- Getting Started with SQL Server 2012 Cube Development
- Oracle JDeveloper 11gR2 Cookbook
- Expert Data Visualization
- Visual Basic程序設計實踐教程
- Android程序設計基礎
- 前端HTML+CSS修煉之道(視頻同步+直播)
- WordPress 4.0 Site Blueprints(Second Edition)
- Java系統化項目開發教程
- 一塊面包板玩轉Arduino編程
- Mastering ArcGIS Enterprise Administration
- Clojure for Machine Learning
- 零代碼實戰:企業級應用搭建與案例詳解
- 零基礎學C語言(升級版)
- 一步一步跟我學Scratch3.0案例