ModularM
Modular15mo ago
27 replies
whatever

How can I see the peak memory usage of a datastructure like alist in mojo?

I want to compare the memory usage of python and mojo.
For python I use the memory profiler pip package.
How can I get the accurate memory consumption of a list or other structure in mojo?
Was this page helpful?