[Python-Dev] Arena-freeing obmalloc ready for testing (original) (raw)
Fredrik Lundh fredrik at pythonware.com
Thu Mar 2 09:40:23 CET 2006
- Previous message: [Python-Dev] Arena-freeing obmalloc ready for testing
- Next message: [Python-Dev] Arena-freeing obmalloc ready for testing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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([]) rawinput("full ") del x[:] rawinput("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 ?
- Previous message: [Python-Dev] Arena-freeing obmalloc ready for testing
- Next message: [Python-Dev] Arena-freeing obmalloc ready for testing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]