- or download this
$ time ./rtoa-pgatram-fixed t1.txt t1.txt t1.txt t1.txt >f.tmp
read_input_files : 15996000 items
...
$ cksum f.tmp p.tmp
737201628 75552000 f.tmp
737201628 75552000 p.tmp
- or download this
// Convert roman to decimal
cstart2 = high_resolution_clock::now();
...
double ctaken = elaspe_time(cend2, cstart1);
std::cerr << "total time : " << std::setw(8) << ctaken <<
+" secs\n";
- or download this
$ time ./rtoa-pgatram-fixed2 t1.txt t1.txt t1.txt t1.txt >f.tmp
read_input_files : 15996000 items
...
real 0m0.799s
user 0m15.147s
sys 0m0.131s
- or download this
# https://perlmonks.org/?node_id=11152168 max_workers => 21
$ time perl rtoa-pgatram-mce.pl t1.txt t1.txt t1.txt t1.txt >p.tmp
...
real 0m0.502s
user 0m13.732s
sys 0m0.246s