#11683: ell_curve_isogeny initialization
----------------------------------------------+-----------------------------
Reporter: saraedum | Owner: cremona
Type: enhancement | Status: needs_info
Priority: minor | Milestone: sage-4.8
Component: elliptic curves | Keywords: startup,
initialization, sd32, sd35
Work_issues: | Upstream: N/A
Reviewer: Julian Rueth, Frithjof Schulze | Author: Julian Rueth,
John Cremona
Merged: | Dependencies:
----------------------------------------------+-----------------------------
Description changed by saraedum:
Old description:
> The import of sage/schemes/elliptic_curves/ell_curve_isogeny.py (which
> happens on every startup of sage) takes a relatively big amount of time
>
> {{{
> $ time ./sage -startuptime|grep ell_curve_isogeny:
> ell_curve_isogeny: 0.133 (ell_field)
>
> real 0m0.994s
> user 0m0.810s
> sys 0m0.154s
> }}}
>
> Lazily computing the constants in this file helps a lot (see the attached
> patch):
>
> {{{
> $ time ./sage -startuptime|grep ell_curve_isogeny:
> ell_curve_isogeny: 0.001 (ell_field)
>
> real 0m0.849s
> user 0m0.672s
> sys 0m0.164s
> }}}
>
> '''Apply:'''
>
> 1. [attachment:trac_11683_ell_curve_isogeny_speedup_combined.patch]
New description:
The import of sage/schemes/elliptic_curves/ell_curve_isogeny.py (which
happens on every startup of sage) takes a relatively big amount of time
{{{
$ time ./sage -startuptime|grep ell_curve_isogeny:
ell_curve_isogeny: 0.133 (ell_field)
real 0m0.994s
user 0m0.810s
sys 0m0.154s
}}}
Lazily computing the constants in this file helps a lot (see the attached
patch):
{{{
$ time ./sage -startuptime|grep ell_curve_isogeny:
ell_curve_isogeny: 0.001 (ell_field)
real 0m0.849s
user 0m0.672s
sys 0m0.164s
}}}
'''Apply:'''
1. [attachment:trac_11683_ell_curve_isogeny_speedup_combined.patch]
1. [attachment:trac_11683_review.patch]
to the sage repository.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11683#comment:18>
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.