Charles> So the big question is, why is my naive "o = __import__ (f, {},
Charles> {}, [])" so much faster than the more obvious "o = cPickle.load
Charles> (f)"? And what can I do to make it faster :).
Try dumping in the binary format, e.g.:
s = cPickle.dumps(obj, 1)
Skip