< More fiddling with SCons, and some more docs
Next >

Algorithms and whatnot:

I've been trying to think of the best way to use the frame recording code.

It could be useful to be able to see all the functions which created objects along with which objects they created. Then you could look back to see which functions called them, and which objects were created by the back function calling the other function.

Then you could just give out a head which represented Py_NewReference, or something like that, and created all the objects. The back functions of that would be the pieces of code which created objects themselves.

That seems to be a sensible way of representing it, I think. I'm not quite sure how to implement that...it looks like a suffix tree might be the best way.


[Main]

Unless otherwise noted, all content licensed by Nick Smallbone
under a Creative Commons License.