[Python-Dev] Arena-freeing obmalloc ready for testing
Fredrik Lundh
fredrik at pythonware.com
Thu Mar 2 09:40:23 CET 2006
Tim Peters wrote:
> For simpler fun, run this silly little program, and look at memory
> consumption at the prompts:
>
> """
> x = []
> for i in xrange(1000000):
> x.append([])
> raw_input("full ")
> del x[:]
> raw_input("empty ")
> """
>
> For example, in a release build on WinXP, VM size is about 48MB at the
> "full" prompt, and drops to 3MB at the "empty" prompt.
hurray!
can we have more Tim sprints, please ?
</F>
More information about the Python-Dev
mailing list