On Dec 20, 12:11 pm, "Craig Citro" <craigci...@gmail.com> wrote:
<SNIP>
> So just running this through prun suggests that it's something related
> to coercion:
>
> ncalls tottime percall cumtime percall filename:lineno(function)
> 17/11 13.884 0.817 14.137 1.285
> number_field.py:1502(_coerce_map_from_)
>
> I'll have time to start looking into this later this afternoon, unless
> someone beats me to it ...
Yep, a likely candidate is #4276, but that is a 100kb diff, so maybe
you should ask RoberWB for a hint.
Note that in the modular/modform directory that is the only doctest
that got measurably slower, but I would not be surprised if something
else in number fields would also show some performance differences.
This is another case where the timeit framework would come in handy.
Since it has been in for a while and basically unchanged hopefully we
can run regression tests back a couple of releases. Getting timeit to
compare different runs is definitely an excellent project for SD12
should we not have it in place by then.
> -cc
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---