#15949: Involutions on NSym and QSym part II
-------------------------------------+-------------------------------------
       Reporter:  darij              |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.2
      Component:  combinatorics      |   Resolution:
       Keywords:  partitions,        |    Merged in:
  symmetric functions, NSym, QSym,   |    Reviewers:
  NCSF, Kronecker product,           |  Work issues:
        Authors:  Darij Grinberg     |       Commit:
Report Upstream:  N/A                |  c98d3006a7ef3fc874327d2b4dd16a541b69220e
         Branch:  public/combinat    |     Stopgaps:
  /invol-nsym-2                      |
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by darij):

 Thank you! I've looked at all changes apart from the internal product one,
 for which I'll need some more concentration than I have right now (writing
 a paper on QSym of all things); I've also added a few more optimizations.

 Observations:

 1. `for m, c in self.monomial_coefficients().items()` is indeed slower
 than `for m, c in self` (thanks for making me aware of this!), but `for m,
 c in self.monomial_coefficients().iteritems()` is not (although the
 difference is very small). I still prefer `for m, c in self` for brevity,
 but where the `iteritems` syntax was used I've put it back.

 2. The global `sum` function is waaaay slower than `sum` methods on
 specific free modules, even if the parent has to be identified first in
 order to call the latter. And this is even without our horrible hijacked
 sum function in the console (#9321, #15163).

--
Ticket URL: <http://trac.sagemath.org/ticket/15949#comment:6>
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/d/optout.

Reply via email to