Memory allocation
Simon Bayling
sfb at alysseum.com
Mon Sep 22 19:07:05 EDT 2003
I don't know about memory usage, but can you use
>>> hash(pickledItem)
Hashing is a very common way to confirm accuracy in file downloads, for
instance.
- Simon.
"Batista, Facundo" <FBatista at uniFON.com.ar> wrote in
news:mailman.1064263836.31956.python-list at python.org:
> #- Can't the object just track changes to itself? This is a fairly
> #- common solution to the general problem you describe. Resorting to
> #- things like checking memory consumption is not likely the best way
> #- to approach this.
>
> Thought this. But gives me an API not separated from my main code (I
> have to subclass each class from another one).
More information about the Python-list
mailing list