Hi Yann!

On 23 Okt., 13:32, Yann <yannlaiglecha...@gmail.com> wrote:
> ...
> In the matrix constructor (matrix in sage/matrix/constructor.py):
>
> entries = sum([list(v) for v in args[0]], [])    <--- this is bad
> (quadratic in the length of argv[0] which is the number of rows here)

I guess this line will only be executed if the input is a list of
lists (or tuple or iterable perhaps). Instead, one should probably
have the row by row insertion.

Can someone open a ticket for this, please? I am in the middle of a
relocation, and *if* I'll find time, I will work on categories.

Best regards,
Simon

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to