#14535: Mutability of Graphs
--------------------------------------------+-------------------------------
Reporter: SimonKing | Owner: jason, ncohen, rlm
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.10
Component: graph theory | Resolution:
Keywords: mutability graph | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Simon King, Volker Braun | Merged in:
Dependencies: #14524 | Stopgaps:
--------------------------------------------+-------------------------------
Comment (by ncohen):
I don't get what you say. The system of decorators that this patch uses
seems to induce a 10% slowdown in a couple of fundamental functions,
doesn't it ? If you want to implement immutable graphs with just an
additional test of a cdef boolean variable in the necessary functions I
don't have anything against it a priori, as the slowdown would be much
smaller `O_o`
And I don't like copied/pasted code. But if you end up writing a patch
that does that, I cannot really complain about anything as there are no
immutable backends available to replace it. I can't set such a patch to
"needs work" saying that you have to implement a real backend, can I ?
`:-P` So if you end up writing a patch with a lot of copy and paste, and
because I will not like it at all, I will later write another patch with a
real immutable backend and remove all those copied/pasted code.
And the world will be at peace.
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14535#comment:33>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.