#15862: Mutability of tableaux, for the n-th time
-------------------------------------------------+-------------------------
       Reporter:  darij                          |        Owner:
           Type:  defect                         |       Status:  new
       Priority:  major                          |    Milestone:  sage-6.2
      Component:  combinatorics                  |   Resolution:
       Keywords:  tableaux, sage-combinat,       |    Merged in:
  mutability                                     |    Reviewers:
        Authors:                                 |  Work issues:
Report Upstream:  N/A                            |       Commit:
         Branch:                                 |     Stopgaps:
   Dependencies:                                 |
-------------------------------------------------+-------------------------

Comment (by tscrim):

 Currently the `_repr_` is used to create the hash for
 `CombinatorialObject`. We might be better served storing
 `CombinatorialObject` as a tuple instead of a list and just using the
 default hash. (Also you can think of `CombinatorialObject` as the
 `SageObject` equivalent to a python tuple.)

 In regards to #14711 and from what I understand of Simon's comment, it is
 about the creation of the parent object `Tableaux()` and is not a slowdown
 per-say. More specifically, it's about the weakly referenced `Tableaux()`
 parent having to be recreated during Sage's startup since the morphisms
 which hold a weak reference to it are being recreated. So once you do hold
 a strong reference to `Tableaux()`, it won't be destroyed/recreated (of
 course unless you delete the strong reference as well). Moreover, although
 the relative value is high, the absolute value is still low so I don't
 think it's affecting things much.

--
Ticket URL: <http://trac.sagemath.org/ticket/15862#comment:6>
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