List me your virtues
summary
Explains how Python lists are implemented in CPython: memory allocation and resizing strategies for efficient appends, how lists can hold mixed data types, and the sorting algorithm used. Also briefly compares lists with NumPy arrays as an alternative in some use cases.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:30Python lists
- 5:44List access and structure
- 9:20List memory growth
- 12:16List pitfalls
- 17:32Sorting and performance
- 18:40Summary
related talks
30mAlgorithmic ideas, engineering tricks, and trivia behind CPython's new sorting algorithm
49mSeven Things Every Python Programmer Should Know
31mUnderstanding Python from the inside: C concepts to dive into CPython fearless
57mPython's other collection types and algorithms
52mPython Tips, Tricks, and Idioms
27mVariables and objects in Python: it's pointers all the way down
01h 18mPython 103: Mmmm... Understanding Python's Memory Model, Mutability, and Methods
01h 18mPython 103: Mmmm... Understanding Python's Memory Model, Mutability, and Methods
