#10553: Diamond bracket operators are terribly slow
-----------------------------------------------+----------------------------
Reporter: mderickx | Owner: craigcitro
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.7
Component: modular forms | Keywords: diamond operator
Author: Maarten Derickx, David Loeffler | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------------------------+----------------------------
Changes (by newvalueoldvalue):
* keywords: => diamond operator
* milestone: => sage-4.7
* author: => Maarten Derickx, David Loeffler
Comment:
Depends on #10451
Apply trac_10553.patch
With #10451 installed it's just a case of adding "check=False" in one line
of code. Hence the new patch. Obligatory timings:
{{{
# Before
sage: S = ModularSymbols(Gamma1(97),sign=1).cuspidal_submodule()
sage: time S.diamond_bracket_matrix(3)
CPU times: user 62.15 s, sys: 0.03 s, total: 62.18 s
Wall time: 62.17 s
345 x 345 dense matrix over Rational Field
}}}
{{{
# After
sage: S = ModularSymbols(Gamma1(97),sign=1).cuspidal_submodule()
sage: time S.diamond_bracket_matrix(3)
CPU times: user 7.40 s, sys: 0.02 s, total: 7.42 s
Wall time: 7.42 s
345 x 345 dense matrix over Rational Field
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10553#comment:5>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.