#15104: Special case modn_dense matrix operations to improve performance
-------------------------------------+-------------------------------------
       Reporter:  nbruin             |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.2
      Component:  linear algebra     |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Nils Bruin, Simon  |    Reviewers:
  King                               |  Work issues:  regression in
Report Upstream:  N/A                |  right_kernel_matrix
         Branch:                     |       Commit:
  u/SimonKing/ticket/15104           |  0f008f9266e3ed6fbd67e7f3d357474825bdb160
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 Replying to [comment:36 nbruin]:
 > The problem there is that the person not requiring a fully initialized
 matrix space isn't asking for a matrix space at all: he/she is probably
 just asking for a matrix and is doing that, quite reasonably, via linear
 algebra routines. Those routines *internally* find the need to
 find/construct an appropriate matrix space and these routines need to be
 able to operate both in time critical code where full initialization of a
 never-used object is too expensive and in situations where the result
 needs to be a full member of the sage universe. I suspect it'll be too
 difficult to get the intent of the caller to the location where that
 intent is relevant.

 That used to be the rationale in #11900.

 However, it seems that with the current version of Sage, the examples used
 in #11900 would ''not'' show a new regression when one would now
 ''always'' fully initialise the matrix spaces!

 So, the underlying rationale for this part of #11900 is gone. It would
 make sense to consider to drop the dirty trick of incomplete
 initialisation.

 That said: It seems that some of the examples are now showing a regression
 even ''without'' full category initialisation of matrix spaces. That's
 what #15792 is about, and it currently is a mystery where the regression
 came from---apparently it isn't from matrix spaces.

--
Ticket URL: <http://trac.sagemath.org/ticket/15104#comment:37>
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/groups/opt_out.

Reply via email to