Class data being zapped by method

John Machin sjmachin at lexicon.net
Wed Aug 9 20:28:09 EDT 2006


Kevin M wrote:
> Good news. I've fixed it up and all seems to be well.
>
> Thanks, all. I've learned a lot from this -:)

Kindly share the learning by feeding back:

(1) What the original problem ("class data being zapped by method")
really was.
(2) What was the cause of the drama with pyc files.
(3) Answers to the questions posed after you asked about speed
bottlenecks? [See below]

> > > Does anybody see any major bottlenecks in the code? I'd like to be able
> > > to speed up the program considerably. Psyco was really no help.
> > 1. Get it refactored and working correctly first. "except IndexError:
> > pass" certainly won't help you win the Grand Prix; how many of those
> > were you doing per 20MB of data?
> > 2. How long does it take to run ? How long would you prefer it to take?
> > How many lines x how many tests == 20 MB?

Cheers,
John




More information about the Python-list mailing list