--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14866>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, and MATLAB
* status: new => needs_review
Comment:
here is a patch, that hopefully does the job.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14866#comment:1>
Comment (by chapoton):
ok, bot is happy, is there anybody for a review ?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14866#comment:2>
Comment (by tscrim):
By doing it this way, there is not a significant improvement to startup
time, even though all 3 modules are not imported at startup. Also what is
your criterion for lazily importing these three modules and not others
(such as the Jack symmetric functions)? It feels kind of arbitrary to me.
I think we should do the following:
- Move the import of `kfpoly.py` into the appropriate method (as per the
current patch)
- Remove the `global_t` in `kfpoly.py` which will remove the creation
(from `kfpoly.py` at least) of the poylnomial ring.
- Have a well-defined set of criterion for when we should lazily import
modules.
Best,[[BR]]
Travis
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14866#comment:3>
Comment (by chapoton):
ok, I have (maybe) taken care of the global_t in kf_poly
concerning the policy for "lazy_import", I would vote for lazy_importing
everybody, but I do not understand if it is good or not for the starting
time.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14866#comment:4>
* status: needs_review => positive_review
* reviewer: => Volker Braun
* author: => Frédéric Chapoton
Comment:
Looks good to me.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14866#comment:5>