Python Memory Management and Tips Transcripts
Chapter: Welcome to the course
Lecture: Smaller and faster
0:00 Now, when you think about memory management and making our code more memory efficient or
0:06 understanding how the garbage collector and reference counting works, you might think this is to make our code use less memory. To make the memory
0:13 required smaller. But it also will have a side effect. It will make our code faster.
0:19 Our code Python will have to do less garbage collection events, potentially is using less memory so less swap space, maybe better cache management,
0:29 but also just some of the design patterns and some of the aspects of Python that
0:33 are not frequently used but we're gonna bring into it will actually make our code quite a bit faster for some really interesting use cases.
0:40 this is sort of a general performance thing with a concentrated focus on memory.