index
:
ruby.git
master
ruby_1_3
ruby_1_4
ruby_1_6
ruby_1_8
ruby_1_8_5
ruby_1_8_6
ruby_1_8_7
ruby_1_9_1
ruby_1_9_2
ruby_1_9_3
ruby_2_0_0
ruby_2_1
ruby_2_2
ruby_2_3
ruby_2_4
ruby_2_5
ruby_2_6
ruby_2_7
ruby_3_0
ruby_3_1
ruby_3_2
ruby_3_3
v1_0r
v1_1dev
v1_1r
The Ruby Programming Language
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
benchmark
/
bm_app_factorial.rb
blob: cfafd626a806c72dd6c83a34c0f605716b2c06ff (
plain
)
1
2
3
4
5
6
7
8
9
10
11
def fact(n) if(n > 1) n * fact(n-1) else 1 end end 8.times{ fact(5000) }