Thanks for that for that Scott. Most of hassle is storing the program flow.
For example: Iteration 3 of the loop starting on line 12 has itself a loop on line 15 that has 14 iterations. Iteration 4 of the loop starting on line 12 has a completely different set of iterations for the loop on line 15. If at all(!) All that is stored in a tree which I pickle and write to the database. Massive program runs will create large trees. And this pickling is expensive. -- http://mail.python.org/mailman/listinfo/python-list