#19890: Improve standardization
-------------------------------------+-------------------------------------
   Reporter:  elixyre                |            Owner:
       Type:  PLEASE CHANGE          |           Status:  new
   Priority:  major                  |        Milestone:  sage-7.0
  Component:  combinatorics          |         Keywords:
  Merged in:                         |          Authors:  Jean-Baptiste
  Reviewers:                         |  Priez
Work issues:                         |  Report Upstream:  N/A
     Commit:                         |           Branch:
  798a3fb4e5809e9aafe9c7ea0b4d13bc0b051788|  u/elixyre/standardization
   Stopgaps:                         |     Dependencies:
-------------------------------------+-------------------------------------
 Improvement of the standardization computation

  - the current one:
 {{{
 sage: sage: w = list(Words(100, 100000).random_element())
 sage: sage: from sage.combinat.permutation import to_standard
 sage: sage: %time sig = to_standard(w)
 CPU times: user 4min 42s, sys: 2.65 s, total: 4min 45s
 Wall time: 4min 53s
 }}}
  - using the merge sort algorithm:
 {{{
 sage: sage: w = list(Words(100, 100000).random_element())
 sage: sage: from sage.combinat.permutation import to_standard
 sage: sage: %time sig = to_standard(w)
 CPU times: user 2.33 s, sys: 147 ms, total: 2.47 s
 Wall time: 2.5 s
 }}}

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