diff options
Diffstat (limited to 'benchmark/app_tak.yml')
-rw-r--r-- | benchmark/app_tak.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/benchmark/app_tak.yml b/benchmark/app_tak.yml new file mode 100644 index 0000000000..0b67558b32 --- /dev/null +++ b/benchmark/app_tak.yml @@ -0,0 +1,15 @@ +benchmark: + app_tak: | + + def tak x, y, z + unless y < x + z + else + tak( tak(x-1, y, z), + tak(y-1, z, x), + tak(z-1, x, y)) + end + end + + tak(18, 9, 0) +loop_count: 1 |