parrotcode: Variable Argument Subroutines | |
Contents | Examples |
examples/benchmarks/addit.pl - Variable Argument Subroutines
% time perl examples/benchmarks/addit.pl
Joe Wilson's original Perl version of his varargs
subroutines benchmark. It calls an "add it" function 500000 times in a loop and prints the result (21001097.97).
examples/benchmarks/addit.pasm, examples/benchmarks/addit.imc, examples/benchmarks/addit2.imc.
|