#11589: faster zero matrix creation
-------------------------------------------+--------------------------------
   Reporter:  malb                         |          Owner:  jason, was        
         
       Type:  enhancement                  |         Status:  positive_review   
         
   Priority:  major                        |      Milestone:  sage-4.7.2        
         
  Component:  linear algebra               |       Keywords:                    
         
Work_issues:                               |       Upstream:  N/A               
         
   Reviewer:  Simon King, Martin Albrecht  |         Author:  Martin Albrecht, 
Simon King
     Merged:                               |   Dependencies:                    
         
-------------------------------------------+--------------------------------

Old description:

> Currently, we perform a matrix copy whenever we create a new zero matrix.
> This is undesirable for two reasons:
>
>  * it is slower than creating a new matrix from scratch for some matrices
>  * it eats up RAM (we create two instead of one matrix)
>
> See also the discussion on [sage-devel]:
>
> http://groups.google.com/group/sage-
> devel/browse_thread/thread/478fb19ecb724be0

New description:

 Currently, we perform a matrix copy whenever we create a new zero matrix.
 This is undesirable for two reasons:

  * it is slower than creating a new matrix from scratch for some matrices
  * it eats up RAM (we create two instead of one matrix)

 See also the discussion on [sage-devel]:
 http://groups.google.com/group/sage-
 devel/browse_thread/thread/478fb19ecb724be0

 Apply all three patches.

--

Comment(by jdemeyer):

 Replying to [comment:19 SimonKing]:
 > If nothing is stated then, I thought, ''all'' patches are to be applied.

 For safety, I prefer not to make any such assumptions.  In the few cases
 where it is unclear (like here), I prefer simply asking.

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