.. _f-sizehelper: module ``helpers.size_helper`` ============================== Short summary +++++++++++++ module ``ensae_teaching_cs.helpers.size_helper`` Functions to measure the size of an object. :githublink:`%|py|5` Functions +++++++++ +-------------------------------------------------------------------------+--------------------------------------------------------------------------------+ | function | truncated documentation | +=========================================================================+================================================================================+ | :func:`object_size ` | Calls `getsizeof `_. | +-------------------------------------------------------------------------+--------------------------------------------------------------------------------+ | :func:`total_size ` | Returns the approximate memory footprint an object and all of its contents. | +-------------------------------------------------------------------------+--------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: ensae_teaching_cs.helpers.size_helper :members: :special-members: __init__ :show-inheritance: