#5970: Weak references in Polynomial Ring cache
--------------------------------------------+-------------------------------
   Reporter:  SimonKing                     |       Owner:  malb                
                
       Type:  defect                        |      Status:  needs_info          
                
   Priority:  critical                      |   Milestone:  sage-4.6.2          
                
  Component:  commutative algebra           |    Keywords:  polynomial ring 
cache weak reference
     Author:                                |    Upstream:  N/A                 
                
   Reviewer:                                |      Merged:                      
                
Work_issues:  regression for test_ec_leak?  |  
--------------------------------------------+-------------------------------

Comment(by SimonKing):

 I'd like to revive that ticket.

 With `sage-4.6.2.alpha0` and the tickets from #8611, #10467 and #10496
 (all with positive review), I obtain:

 {{{
 sage: attach test.sage
 sage: %time test_poly_leak(10^5)
 CPU times: user 11.63 s, sys: 0.16 s, total: 11.79 s
 Wall time: 11.85 s
 330.4296875
 sage: %time test_ec_leak(10^5)
 CPU times: user 41.47 s, sys: 0.14 s, total: 41.61 s
 Wall time: 42.11 s
 193.3828125
 sage: %time test_pc_leak(10^5)
 CPU times: user 13.24 s, sys: 0.04 s, total: 13.29 s
 Wall time: 13.29 s
 57.25390625
 }}}


 Additionally applying Martin's patch from here, one has
 {{{
 sage: attach test.sage
 sage: %time test_poly_leak(10^5)
 CPU times: user 9.09 s, sys: 0.06 s, total: 9.14 s
 Wall time: 9.26 s
 77.1015625
 sage: %time test_ec_leak(10^5)
 CPU times: user 51.72 s, sys: 0.22 s, total: 51.94 s
 Wall time: 52.49 s
 448.65234375
 sage: %time test_pc_leak(10^5)
 CPU times: user 13.64 s, sys: 0.03 s, total: 13.68 s
 Wall time: 13.85 s
 57.796875
 }}}

 So, the situation has not changed: We need to look into the elliptic
 curves code.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5970#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.

Reply via email to