#18194: Speedup of calculation of Macdonald H and Ht bases
-------------------------------------+-------------------------------------
       Reporter:  zabrocki           |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  minor              |    Milestone:  sage-6.7
      Component:  combinatorics      |   Resolution:
       Keywords:  sf, days67, sage-  |    Merged in:
  combinat                           |    Reviewers:  Travis Scrimshaw
        Authors:  Mike Zabrocki      |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  0cb83533bfe821ae24dad1d95e7dc5d520fb1fdf
  public/combinat/mac_speedup-18194  |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by tscrim):

 Okay, so I've managed to gain another 5~10% it seems but doing some mild
 code duplication with specialization. I've also had to fix this doctest in
 `sfa.py`:
 {{{
 sage: all( GR_def2(lam) == h.gessel_reutenauer(lam)
 ....:      for n in range(5) for lam in Partitions(n) )
 }}}
 by explicitly casting the left-hand side to `h` as it now seems to ignore
 the equality check by coercion. However this worked for me on a smaller
 example, so something subtle seems to have changed with 5ff5d5a... I will
 look into this tomorrow for sure, but I will try tonight (after dinner).

--
Ticket URL: <http://trac.sagemath.org/ticket/18194#comment:40>
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