#18025: SkewTableau.rectify() optimization
-------------------------------------+-------------------------------------
       Reporter:  MariaMonks         |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.7
      Component:  combinatorics      |   Resolution:
       Keywords:  days64, tableau,   |    Merged in:
  days67                             |    Reviewers:  Josh Swanson
        Authors:  Maria Monks        |  Work issues:
  Gillespie, Oliver Pechenik         |       Commit:
Report Upstream:  N/A                |  0b6e3f732224e9784afad1cec93afb89d1a7810a
         Branch:                     |     Stopgaps:
  public/ticket/18025                |
   Dependencies:  #18024             |
-------------------------------------+-------------------------------------

Comment (by darij):

 Nice suggestion about list comprehension -- it sped up the `to_word` on
 skew tableaux by a factor of 2 (even with the correct `reversed(self)`
 instead of `self`).

 I am not sure about having two different `to_word` methods, though. That
 would require two different `to_word_by_row` and two different
 `to_word_by_column` methods, too, and would look a bit wasteful. Think of
 it as a function whose output type is a sum type parametrized by the input
 -- not exactly a dirty hack. On the other hand, I would really not want it
 called `to_flat_list`, since besides flattening the list it partially
 reverses it too.

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