- 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.
- Java程序設計實戰(zhàn)教程
- Java面向?qū)ο筌浖_發(fā)
- JMeter 性能測試實戰(zhàn)(第2版)
- Machine Learning with R Cookbook(Second Edition)
- Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API
- SAS數(shù)據(jù)統(tǒng)計分析與編程實踐
- Unity 5 for Android Essentials
- Node Cookbook(Second Edition)
- Building Machine Learning Systems with Python(Second Edition)
- PHP編程基礎與實踐教程
- Web App Testing Using Knockout.JS
- Mastering Apache Storm
- C語言程序設計實訓教程與水平考試指導
- 實戰(zhàn)Java高并發(fā)程序設計(第2版)
- 人工智能算法(卷1):基礎算法