Help for this page

Select Code to Download


  1. or download this
    use Sort::Key;
    sub mykeysort {
        ikeysort { /foo(\d+)\.tla/; $1 } @_
    }
    
  2. or download this
                  Rate       naive schwartzian     guttros   Sort::Key
    naive       17.9/s          --        -73%        -79%        -83%
    ...
    guttros     84.0/s        371%         25%          --        -19%
    Sort::Key    104/s        483%         55%         24%          --
    
  3. or download this
                   Rate       naive schwartzian     guttros   Sort::Key
    naive       0.413/s          --        -77%        -86%        -89%
    schwartzian  1.79/s        334%          --        -38%        -52%
    guttros      2.88/s        597%         61%          --        -23%
    Sort::Key    3.74/s        805%        109%         30%          --
    
  4. or download this
                s/iter       naive schwartzian     guttros   Sort::Key
    naive         30.2          --        -78%        -87%        -90%
    schwartzian   6.53        363%          --        -42%        -56%
    guttros       3.81        693%         72%          --        -24%
    Sort::Key     2.90        942%        125%         31%          --
    
  5. or download this
              s/iter   guttros Sort::Key
    guttros     39.6        --      -25%
    Sort::Key   29.7       33%        --