#19890: Improve standardization
-------------------------------------+-------------------------------------
       Reporter:  elixyre            |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-7.0
      Component:  combinatorics      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jean-Baptiste      |    Reviewers:  Travis Scrimshaw
  Priez                              |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  acdaf9d6d8fa028a31e0628d0d61352511a610bc
  u/elixyre/standardization          |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by virmaux):

 Hey Jean-Baptiste!

 It is probably possible to go even faster using python sort and a
 dictionnary!
 {{{
 sage: w = Words(100, 100000).random_element()
 sage: %time a = w.standard_permutation()
 CPU times: user 123 ms, sys: 36.7 ms, total: 160 ms
 Wall time: 128 ms
 }}}

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

Reply via email to