summaryrefslogtreecommitdiff
path: root/ruby_1_9_3/benchmark/other-lang/ack.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_1_9_3/benchmark/other-lang/ack.rb')
-rw-r--r--ruby_1_9_3/benchmark/other-lang/ack.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/ruby_1_9_3/benchmark/other-lang/ack.rb b/ruby_1_9_3/benchmark/other-lang/ack.rb
deleted file mode 100644
index 7451bed6c4..0000000000
--- a/ruby_1_9_3/benchmark/other-lang/ack.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-def ack(m, n)
- if m == 0 then
- n + 1
- elsif n == 0 then
- ack(m - 1, 1)
- else
- ack(m - 1, ack(m, n - 1))
- end
-end
-
-NUM = 9
-ack(3, NUM)