The secrets of operator.add

June Kim junaftnoon at nospamplzyahoo.com
Fri Dec 8 19:08:04 EST 2000


"Alex Martelli" <aleaxit at yahoo.com> wrote in message
news:90r69r02hmn at news2.newsguy.com...
> "Jacek Generowicz" <jmg at ecs.soton.ac.uk> wrote in message
> news:g08zpq51vy.fsf at scumbag.ecs.soton.ac.uk...
>     [snip]
> > It looks as if multiple calls to operator.add are avoided somehow
> > . . . or am I failing to understand the profiler's output ?
>
> I think the profiler may be inserting its tracefunction in some
> places and not others, thus perhaps distorting measurement.
>
[snip]

How come the huge difference in its total running time between the two?





More information about the Python-list mailing list