- 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.
- Java 開發從入門到精通(第2版)
- 騰訊iOS測試實踐
- Web Application Development with MEAN
- 鋒利的SQL(第2版)
- Python面向對象編程:構建游戲和GUI
- Spring Boot Cookbook
- C++面向對象程序設計習題解答與上機指導(第三版)
- Java SE實踐教程
- 深入理解Java虛擬機:JVM高級特性與最佳實踐
- 讓Python遇上Office:從編程入門到自動化辦公實踐
- Raspberry Pi Robotic Projects
- SOA Patterns with BizTalk Server 2013 and Microsoft Azure(Second Edition)
- C#從入門到精通(微視頻精編版)
- Python服務端測試開發實戰
- Java并發編程深度解析與實戰