- 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.
- 現代C++編程:從入門到實踐
- Mastering Visual Studio 2017
- 高效微控制器C語言編程
- Python for Secret Agents:Volume II
- Rust Cookbook
- Python算法指南:程序員經典算法分析與實現
- Visual Studio 2015高級編程(第6版)
- Java Web應用開發項目教程
- Practical GIS
- Unity 2017 Game AI Programming(Third Edition)
- 零基礎看圖學ScratchJr:少兒趣味編程(全彩大字版)
- 超簡單:用Python讓Excel飛起來(實戰150例)
- Learning Image Processing with OpenCV
- PHP+MySQL Web應用開發教程
- HTML5 Canvas核心技術:圖形、動畫與游戲開發