Well, I've got the recording-frames idea going, but no code to use it yet. It needed changes to _Py_NewReference and _Py_Dispose in the end. Also, I've made the wrappers use slots, so the profiler itself uses a *lot* less memory than before.
I've been trying to profile SCons. Looks hopeful: when compiling Unununium, there are several megabytes of empty dicts and lists. Maybe it would help to have a lightweight dict-wrapper class that only created a real dict when it was written to.
Fri Aug 26 2005 22:35 CET-1CEST:
