Jeremy wrote: > I just profiled one of my Python scripts and discovered that >99% of > the time was spent in > > {built-in method sub} > > What is this function and is there a way to optimize it? > I think it's the subtraction operator. The only way to optimise it is to reduce the number of subtractions that you do!