#18231: constructing matrices is very slow
-------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.7
Component: linear algebra | Resolution:
Keywords: | Merged in:
Authors: Vincent Delecroix | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/vdelecroix/18231 | 715f49ecab8ae8bb66725be77da51ce6eb8f8738
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by ncohen):
Yoooooo !
> I made a big effort to separate the commit at least! It is now in the
description of the ticket.
Thanks
> No choice. This is a cdef function defined in
`structure.element.Element` and you can not change the signature in
children classes. I thought it was more readable this way.
Oh, okay!
> All right. But then there is something wrong in the docstring of
`matrix0.Matrix`
Hmmmm.... Can you at least observe the difference? All that this
`__init__` function does is precisely what you do. Can you measure this
function call when your function copies lists around? `O_o`
> All this was just old Cython code at the time Cython was not able to
understand `l[i]` when `l` is a `cdef list`.
Okay!
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/18231#comment:7>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.