Python and binary data
Managing memory in Python is easy — if you just don’t care. In theory, it’s well, because you don’t worry about garbage collection or memory allocation. However, sometimes the usual append of an element to the end of the list takes a long time unexpectedly. To avoid surprises, you need to know a few things about Python memory management.
In my talk we will go over the key features of the interpreter by using an example — we will create a simple database system step by step, using only modules of the standard library. I'll show you how to manage memory directly using the ctypes and mmap libraries. You will see that minimizing memory consumption in Python is easy.
Software Engineer on Tinkoff.ru, maintainer of flake8-rs library, conference speaker PyCon Russia.