What is built-in method sub

MRAB python at mrabarnett.plus.com
Mon Jan 11 20:58:29 CET 2010

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!

More information about the Python-list mailing list