#13324: Upgrade ECL to 12.12.1 and let it build on (recent) Cygwins
----------------------------------------------------------------+-----------
       Reporter:  jpflori                                       |         
Owner:  tbd                                                    
           Type:  defect                                        |        
Status:  closed                                                 
       Priority:  major                                         |     
Milestone:  sage-5.7                                               
      Component:  cygwin                                        |    
Resolution:  fixed                                                  
       Keywords:  cygwin ecl spkg                               |   Work 
issues:                                                         
Report Upstream:  Fixed upstream, but not in a stable release.  |     
Reviewers:  François Bissey, Karl-Dieter Crisman, Dmitrii Pasechnik
        Authors:  Jean-Pierre Flori                             |     Merged 
in:  sage-5.7.beta0                                         
   Dependencies:  #13860                                        |      
Stopgaps:                                                         
----------------------------------------------------------------+-----------

Comment (by kcrisman):

 Also,
 {{{
 /Users/.../sage-5.7.beta2/local/lib/python2.7/site-
 packages/sage/misc/sage_extension.py:359: DeprecationWarning: Use %time
 instead of time.
 See http://trac.sagemath.org/12719 for details.
 }}}

 Anyway, it's only the very first time that this is really slow, presumably
 due to Maxima starting up.  However, there is a brief slowdown.
 {{{
 sage: time print(len(maxima._commands(verbose=False)))
 1926
 CPU times: user 0.32 s, sys: 0.07 s, total: 0.39 s
 Wall time: 16.06 s
 sage: time print(len(maxima._commands(verbose=False)))
 1926
 CPU times: user 0.00 s, sys: 0.00 s, total: 0.00 s
 Wall time: 0.00 s
 sage: %timeit print(len(maxima._commands(verbose=False)))
 <many 1926 later>
 100000 loops, best of 3: 5.09 us per loop
 }}}

 With 5.6:
 {{{
 sage: time print(len(maxima._commands(verbose=False)))
 1871
 Time: CPU 0.37 s, Wall: 16.32 s
 sage: time print(len(maxima._commands(verbose=False)))
 1871
 Time: CPU 0.00 s, Wall: 0.00 s
 sage: %timeit print(len(maxima._commands(verbose=False)))
 625 loops, best of 3: 2.16 µs per loop
 }}}

 Testing another command.  Old:
 {{{
 sage: %timeit integrate(cos(x^2),x)
 25 loops, best of 3: 21.4 ms per loop
 }}}

 New:
 {{{
 sage: %timeit integrate(cos(x^2),x)
 1 loops, best of 3: 21.2 ms per loop
 }}}

 I think this is a non-issue.  How often are people going to need really
 fast listing of all Maxima commands?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13324#comment:177>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to