search for: waclena

Displaying 1 result from an estimated 1 matches for "waclena".

Did you mean: maclean
2002 Jun 11
2
Perl vs. R
...6.1 version of Perl runs it in 0.18 secs now, on my 600Mhz Linux platform. Wondering how fast R will be in comparison. Thanks, John Day FYI, here's the Perl source: #!/local/bin/perl # invert benchmark in Perl # see <url:http://www.lib.uchicago.edu/keith/crisis/benchmarks/invert/ # Keith Waclena <k-waclena at uchicago.edu> while (<STDIN>) { chop; ($a, $b) = split(/\t/); $B{$b} .= "\t$a"; # gotta lose leading tab later... } foreach $b (sort keys %B) { # lose the leading tab with substr... print "$b\t" . join("\t", so...