#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):
> So it does help, but they still take a long time to initialize compared
to their counterparts. However this can be an issue for another ticket.
Unless you have a specific suggestion on how to improve this, I would
leave it for another ticket.
> As for the caching of the `index_set()`, the problem is (as you stated)
this returns a mutable list rather than an immutable tuple. I tried doing
this once and from what I recall, the rigged configurations code broke
because it does something like
> {{{
> I = self.index_set()
> I.pop(0)
> }}}
> which would have to be tweaked to
> {{{
> I = self.index_set()[1:]
> }}}
> but IDK if this behavior occurs anywhere else.
Yes, this also occurs in tensor_product in /combinat/crystals
Anne
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14089#comment:7>
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.