#17327: Simplify computation of values of Dirichlet characters
-------------------------------------+-------------------------------------
Reporter: pbruin | Owner:
Type: task | Status: needs_work
Priority: minor | Milestone: sage-6.4
Component: number theory | Resolution:
Keywords: Dirichlet | Merged in:
characters | Reviewers:
Authors: Peter Bruin | Work issues:
Report Upstream: N/A | Commit:
Branch: | 511c9a507c751129d3003d1c15c9ecca0029b587
u/pbruin/17327-DirichletCharacter_values| Stopgaps:
Dependencies: #17317, #17319 |
-------------------------------------+-------------------------------------
Changes (by pbruin):
* status: needs_review => needs_work
Comment:
Unfortunately the current version gives a 50% slowdown (from 3 seconds to
4.5 seconds) for the following command:
{{{
sage: %timeit -n 1 -r 1 -c [[chi.values() for chi in DirichletGroup(n)]
....: for n in xrange(1, 100)]
}}}
This seems to be caused by an overdose of Python `map` and `lambda`
constructions.
--
Ticket URL: <http://trac.sagemath.org/ticket/17327#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.