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: |
Description (last modified by )
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)
Change History (8)
comment:1 Changed 12 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 12 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 12 years ago by
Cc: | SimonKing added |
---|
Changed 12 years ago by
Attachment: | trac10158-matrix_from_list_of_list.patch added |
---|
comment:4 Changed 12 years ago by
Authors: | → Yann Laigle-Chapuy |
---|---|
Description: | modified (diff) |
Status: | new → needs_review |
comment:5 Changed 12 years ago by
Status: | needs_review → positive_review |
---|
comment:6 Changed 12 years ago by
Reviewers: | → Robert Bradshaw |
---|
comment:7 Changed 12 years ago by
Merged in: | → sage-4.6.1.alpha0 |
---|---|
Resolution: | → fixed |
Status: | positive_review → closed |
Note: See
TracTickets for help on using
tickets.
Easiest solution provided, even if we could probably do better (see the thread).