- Mastering Python
- Rick van Hattem
- 156字
- 2021-07-16 11:10:33
Summary
Python has quite a few very useful collections built in. Since more and more collections are added regularly, the best thing to do is simply keep track of the collections manual. And do you ever wonder how or why any of the structures works? Just look at the source here:
https://hg.python.org/cpython/file/default/Lib/collections/__init__.py
After finishing this chapter, you should be aware of both the core collections and the most important collections from the collections module, but more importantly the performance characteristics of these collections in several scenarios. Selecting the correct data structure within your applications is by far the most important performance factor that your code will ever experience, making this essential knowledge for any programmer.
Next, we will continue with functional programming which covers lambda
functions, list
comprehensions, dict
comprehensions, set
comprehensions and an array of related topics. This includes some background information on the mathematics involved which could be interesting but can safely be skipped.
- GAE編程指南
- PaaS程序設計
- Scala Design Patterns
- Python應用輕松入門
- Mastering JavaScript Design Patterns(Second Edition)
- 深入理解Elasticsearch(原書第3版)
- C語言開發基礎教程(Dev-C++)(第2版)
- Python機器學習算法: 原理、實現與案例
- Node.js區塊鏈開發
- Monitoring Docker
- MATLAB計算機視覺實戰
- AngularJS Web Application Development Cookbook
- 你也能看得懂的Python算法書
- 換個姿勢學C語言
- Learning ArcGIS Geodatabases