repo.or.cz
/
ruby-svn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
* transcode.c (transcode_restartable): my_transcoder argument removed.
[ruby-svn.git]
/
benchmark
/
bm_app_factorial.rb
blob
a5a5de042607c4a1fc39762f73cffddf5e1157d6
1
def fact(n)
2
if(n > 1)
3
n * fact(n-1)
4
else
5
1
6
end
7
end
8
9
8.times{
10
fact(5000)
11
}