#20956: Number of reflections in Weyl and Coxeter groups can be computed faster
-------------------------------------------------+-------------------------
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: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------------------+-------------------------
Comment (by chapoton):
Some timings with the branch of #20943
{{{
sage: sage: W = WeylGroup(['E',7])
sage: sage: %timeit len(W.long_element(as_word=True))
10 loops, best of 3: 41.6 ms per loop
sage: sage: %timeit W.number_of_reflections()
The slowest run took 1047579.52 times longer than the fastest.
This could mean that an intermediate result is being cached.
10000000 loops, best of 3: 57.2 ns per loop
sage: sage: %timeit sum(d-1 for d in W.degrees())
10 loops, best of 3: 41.1 ms per loop
}}}
--
Ticket URL: <https://trac.sagemath.org/ticket/20956#comment:1>
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.