#10158: efficiency problem when constructing matrices from list of list
----------------------------------+-----------------------------------------
   Reporter:  ylchapuy            |       Owner:  jason, was  
       Type:  enhancement         |      Status:  needs_review
   Priority:  major               |   Milestone:  sage-4.6.1  
  Component:  linear algebra      |    Keywords:              
     Author:  Yann Laigle-Chapuy  |    Upstream:  N/A         
   Reviewer:                      |      Merged:              
Work_issues:                      |  
----------------------------------+-----------------------------------------
Changes (by newvalueoldvalue):

  * status:  new => needs_review
  * author:  => Yann Laigle-Chapuy


Old description:

> this should be fast:
>
> {{{
> sage: M = matrix(ZZ, [[0]*50 for i in range(10^6)])
> }}}
>
> see http://groups.google.com/group/sage-
> support/browse_thread/thread/2f50741b171eaa1a

New description:

 this should be fast:

 {{{
 sage: M = matrix(ZZ, [[0] for i in range(10^6)])
 }}}

 see http://groups.google.com/group/sage-
 support/browse_thread/thread/2f50741b171eaa1a

--

Comment:

 Easiest solution provided, even if we could probably do better (see the
 thread).

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