summaryrefslogtreecommitdiff
path: root/ruby_1_9_3/benchmark/other-lang/fact.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_1_9_3/benchmark/other-lang/fact.rb')
-rw-r--r--ruby_1_9_3/benchmark/other-lang/fact.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/ruby_1_9_3/benchmark/other-lang/fact.rb b/ruby_1_9_3/benchmark/other-lang/fact.rb
deleted file mode 100644
index 7e97b22b39..0000000000
--- a/ruby_1_9_3/benchmark/other-lang/fact.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-def fact(n)
- if n < 2
- 1
- else
- n * fact(n-1)
- end
-end
-
-i=0
-while i<10000
- i+=1
- fact(100)
-end