#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:  u/stumpc5/20943                |       Commit:
   Dependencies:                                 |     Stopgaps:
-------------------------------------------------+-------------------------

Comment (by stumpc5):

 {{{
 sage: W = ReflectionGroup(['A',6]); c = list(W.index_set())
 sage: Q = c+W.w0.coxeter_sorting_word(c)
 sage: %time S = SubwordComplex(Q,W.w0,algorithm="greedy")
 }}}
 with the fix, I get
 {{{
 CPU times: user 222 ms, sys: 16.1 ms, total: 238 ms
 Wall time: 248 ms
 }}}
 and without the fix, I get
 {{{
 CPU times: user 1.35 s, sys: 37.7 ms, total: 1.39 s
 Wall time: 1.4 s
 }}}
 For types E, it becomes obviously much worse.

--
Ticket URL: <https://trac.sagemath.org/ticket/20943#comment:4>
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