#13949: Make mutability on matrices a simple bint flag
---------------------------------+------------------------------------------
Reporter: nbruin | Owner: tbd
Type: PLEASE CHANGE | Status: new
Priority: major | Milestone: sage-5.6
Component: PLEASE CHANGE | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
---------------------------------+------------------------------------------
Comment (by nbruin):
Replying to [comment:1 nbruin]:
> - Would it be a good idea to also allow `None` as a sentinel value
there and that any routine that needs `_cache` replaces `None` there by an
empty dictionary? Or is that an unacceptable cost for cache use?
In fact, that's already in place in the cache access routines! It's just
the __init__ method that insists on setting `self._cache = {}`. It simply
shouldn't do that! That will be much more efficient.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13949#comment:2>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.