Loading...
Loading...
Loading...
Section 15 · Stage 6: Master Python
Bytecode, memory and garbage collection, and how to make code faster.
From source code to running program. Bytecode and the interpreter, Reference counting and garbage collection, Object memory and __slots__.
Find what is slow, then fix it. timeit and cProfile, Choosing data structures, Common speed-ups.