#14089: Speed improvements in affine crystals and fix of optional doctest
failure
----------------------------------+-----------------------------------------
Reporter: aschilling | Owner: sage-combinat
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.8
Component: combinatorics | Resolution:
Keywords: crystals | Work issues:
Report Upstream: N/A | Reviewers: Nicolas M. Thiery
Authors: Anne Schilling | Merged in:
Dependencies: #14052 | Stopgaps:
----------------------------------+-----------------------------------------
Comment (by aschilling):
> > Also, for the `index_set()` method in `categories/crystals.py`, could
we change it so that it returns `self._cartan_type.index_set()`? It seems
that `CrystalOfTableaux` is the only crystal which directly implements
`cartan_matrix()` and does not have the `_cartan_matrix` attribute. This
seems to drop the number of function calls when iterating over crystals by
about 10%.
>
> I can cache index_set, which should make it faster.
In fact, this breaks some doc tests since caching an object that is not
immutable is dangerous. Unless there is really a significant speedup, I
won't make this change for now.
Anne
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14089#comment:5>
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.