Open Jaymon opened 3 years ago
That will return the size, in memory, of the object.
I can use sys.getsizeof() and something like this recipe: COMPUTE MEMORY FOOTPRINT OF AN OBJECT AND ITS CONTENTS (PYTHON RECIPE) to get the size of the objects
Now, I could add a pout.z() that would print the memory of the object, or I could just add it to the normal value of, at least, objects, so it would print out with everything else if you passed in an object.
pout.z()
That will return the size, in memory, of the object.
I can use sys.getsizeof() and something like this recipe: COMPUTE MEMORY FOOTPRINT OF AN OBJECT AND ITS CONTENTS (PYTHON RECIPE) to get the size of the objects
Now, I could add a
pout.z()
that would print the memory of the object, or I could just add it to the normal value of, at least, objects, so it would print out with everything else if you passed in an object.Links
Search