#20943: Update a missing important speed improvement for subword complexes
-------------------------------------------------+-------------------------
       Reporter:  stumpc5                        |        Owner:
           Type:  enhancement                    |       Status:  new
       Priority:  major                          |    Milestone:  sage-7.3
      Component:  combinatorics                  |   Resolution:
       Keywords:  reflection group, coxeter      |    Merged in:
  group, subword complex, days80                 |
        Authors:  Christian Stump                |    Reviewers:
Report Upstream:  N/A                            |  Work issues:
         Branch:                                 |       Commit:
   Dependencies:                                 |     Stopgaps:
-------------------------------------------------+-------------------------

Comment (by stumpc5):

 For Weyl groups, I get
 {{{
 sage: W = WeylGroup(['E',7])
 sage: %timeit len(W.long_element(as_word=True))
 10 loops, best of 3: 98.6 ms per loop
 sage: %timeit W.number_of_reflections()
 1 loop, best of 3: 208 ms per loop
 }}}
 and for Coxeter groups, I get
 {{{
 sage: W = CoxeterGroup(['E',7])
 sage: %timeit len(W.long_element(as_word=True))
 1 loop, best of 3: 206 ms per loop
 sage: %timeit W.number_of_reflections()
 1 loop, best of 3: 378 ms per loop
 }}}
 so I leave the current implementation for those (though this is not as
 clean as it should be).

--
Ticket URL: <https://trac.sagemath.org/ticket/20943#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 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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to