Artifact 14274bdad0867af4b930c3bf52c3ef307bb70f96:
- File tests/langbench/proc.pl — part of check-in [69b737f5a1] at 2016-04-19 20:35:49 on branch little — Fork of Tcl used in the "Little" project. http://www.mcvoy.com/lm/little/index.html (user: dgp, size: 427) [annotate] [blame] [check-ins using]
sub a { return &b($_[0]); } sub b { return &c($_[0]); } sub c { return &d($_[0]); } sub d { return &e($_[0]); } sub e { return &f($_[0]); } sub f { return &g($_[0], 2); } sub g { return &h($_[0], $_[1], 3); } sub h { return &i($_[0], $_[1], $_[2], 4); } sub i { return &j($_[0], $_[1], $_[2], $_[3], 5); } sub j { return $_[0] + $_[1] + $_[2] + $_[3] + $_[4]; } $n = 100000; while ($n > 0) { $x = &a($n); $n--; } print "$x\n";