#15476: Involutions on NSym and QSym part I
-------------------------------------+-------------------------------------
       Reporter:  darij              |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.1
      Component:  combinatorics      |   Resolution:
       Keywords:  ncsf, nsym, qsym,  |    Merged in:
  sage-combinat, symmetric           |    Reviewers:
  functions, compositions            |  Work issues:
        Authors:  Darij Grinberg     |       Commit:
Report Upstream:  N/A                |  1d9bb8f667abd6b61ad9f38b3e1d791e840eaba3
         Branch:                     |     Stopgaps:
  public/combinat/ncsf_qsym/involutions-15476|
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by darij):

 Hi Travis,

 thanks a lot! I don't have git-sage running on this machine and I haven't
 had time to check all of your changes so far, but I can confirm that
 `_basis_keys` is the right way to go here. BUT please don't use
 `Composition([])`:
 {{{
 sage: %timeit S._basis_keys([])
 100000 loops, best of 3: 6.38 us per loop
 sage: %timeit Compositions()([])
 100000 loops, best of 3: 9 us per loop
 sage: %timeit Composition([])
 100000 loops, best of 3: 11 us per loop
 }}}
 Generally, `Composition(something)` does some slow and dirty ducktyping
 and should be avoided whenever possible in code.

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

Reply via email to