summaryrefslogtreecommitdiff
path: root/ruby_1_9_3/benchmark/bm_app_factorial.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_1_9_3/benchmark/bm_app_factorial.rb')
-rw-r--r--ruby_1_9_3/benchmark/bm_app_factorial.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/ruby_1_9_3/benchmark/bm_app_factorial.rb b/ruby_1_9_3/benchmark/bm_app_factorial.rb
deleted file mode 100644
index 45f471dfdb..0000000000
--- a/ruby_1_9_3/benchmark/bm_app_factorial.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-def fact(n)
- if(n > 1)
- n * fact(n-1)
- else
- 1
- end
-end
-
-100.times {
- fact(5000)
-}