Opened 12 years ago

Closed 12 years ago

#10158 closed enhancement (fixed)

efficiency problem when constructing matrices from list of list

Reported by: ylchapuy Owned by: jason, was
Priority: major Milestone: sage-4.6.1
Component: linear algebra Keywords:
Cc: SimonKing Merged in: sage-4.6.1.alpha0
Authors: Yann Laigle-Chapuy Reviewers: Robert Bradshaw
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by ylchapuy)

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

Attachments (1)

trac10158-matrix_from_list_of_list.patch (1.2 KB) - added by ylchapuy 12 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 12 years ago by ylchapuy

Description: modified (diff)

comment:2 Changed 12 years ago by ylchapuy

Description: modified (diff)

comment:3 Changed 12 years ago by SimonKing

Cc: SimonKing added

Changed 12 years ago by ylchapuy

comment:4 Changed 12 years ago by ylchapuy

Authors: Yann Laigle-Chapuy
Description: modified (diff)
Status: newneeds_review

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

comment:5 Changed 12 years ago by robertwb

Status: needs_reviewpositive_review

comment:6 Changed 12 years ago by jdemeyer

Reviewers: Robert Bradshaw

comment:7 Changed 12 years ago by jdemeyer

Merged in: sage-4.6.1.alpha0
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.