- or download this
#!/usr/bin/env perl
use strict;
...
use List::Util 'shuffle';
my @arr = shuffle <>;
print @arr;
- or download this
./shuffle.pl big1.txt >tmp && mv tmp big1.txt
./shuffle.pl big2.txt >tmp && mv tmp big2.txt
...
./shuffle.pl long1.txt >tmp && mv tmp long1.txt
./shuffle.pl long2.txt >tmp && mv tmp long2.txt
./shuffle.pl long3.txt >tmp && mv tmp long3.txt
- or download this
$ NUM_THREADS=1 ./llil4judy-no6 big{1,2,3}.txt long{1,2,3}.txt >out.tx
+t
llil4judy start
...
vector stable sort 1.125 secs
write stdout 0.283 secs
total time 3.233 secs
- or download this
~/j904/bin/jconsole llil5.ijs big{1,2,3}.txt long{1,2,3}.txt out.txt
...
Classify, sum, sort: 4.82435
Format and write output: 2.05906
Total time: 9.32962
- or download this
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~
// llil4judy.cc
...
return 0;
}