Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Fastest way to sort a list of integers into 0,1,2,3,-3,-2,-1

by haukex (Bishop)
on Feb 05, 2019 at 14:12 UTC ( #1229406=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    use warnings;
    ...
    haukex3    107128/s  953%     573%    509%   341%     333%   263% 243%
    + 148%       38%       15%      --  -4%       -19%
    vr         111499/s  996%     601%    534%   359%     350%   278% 257%
    + 158%       43%       20%      4%   --       -16%
    Discipulus 132736/s 1204%     734%    654%   446%     436%   350% 326%
    + 207%       71%       43%     24%  19%         --
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1229406]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2021-10-21 03:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (82 votes). Check out past polls.

    Notices?