Opened 9 years ago

Closed 9 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 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 9 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 9 years ago by ylchapuy

  • Description modified (diff)

comment:2 Changed 9 years ago by ylchapuy

  • Description modified (diff)

comment:3 Changed 9 years ago by SimonKing

  • Cc SimonKing added

Changed 9 years ago by ylchapuy

comment:4 Changed 9 years ago by ylchapuy

  • Authors set to Yann Laigle-Chapuy
  • Description modified (diff)
  • Status changed from new to needs_review

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

comment:5 Changed 9 years ago by robertwb

  • Status changed from needs_review to positive_review

comment:6 Changed 9 years ago by jdemeyer

  • Reviewers set to Robert Bradshaw

comment:7 Changed 9 years ago by jdemeyer

  • Merged in set to sage-4.6.1.alpha0
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.