2021-11-12 11:33:12 -03:00
..
2021-06-26 13:42:28 -03:00
2021-08-07 00:44:01 -03:00
2021-08-07 00:44:01 -03:00
2020-06-09 01:20:49 -03:00
2021-08-07 00:44:01 -03:00
2020-06-09 01:16:38 -03:00
2020-06-09 01:16:38 -03:00
2020-06-09 01:16:38 -03:00
2020-06-09 01:16:38 -03:00
2021-11-12 11:33:12 -03:00
2021-11-12 11:33:12 -03:00
2021-11-12 11:33:12 -03:00

# A Pythonic Object

Sample code for Chapter 11 of _Fluent Python 2e_ by Luciano Ramalho (O'Reilly, 2020)

The _memtest.py_ script takes a module name in the command line and loads it.
Assuming the module defines a class named `Vector`, _memtest.py_ creates a list with 10 million instances, reporting the memory usage before and after the list is created.