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