Memory usage of Python data structures
In this video we will explore the the size of various Python data structures using
sys.getsizeof(). In this Python getting the true memory weight of complex data structures is
a somewhat complicated process, especially so for third-party data structures.
Despite this, using sys.getsizeof() can illuminate some of the memory management practices in Python.
You can find the notebook here in my Python stuff…