* string.c (rb_str_splice_0): call rb_str_drop_bytes, not rb_str_drop.
[ruby-svn.git] / benchmark / bm_app_factorial.rb
bloba5a5de042607c4a1fc39762f73cffddf5e1157d6
1 def fact(n)
2   if(n > 1)
3     n * fact(n-1)
4   else
5     1
6   end
7 end
9 8.times{
10   fact(5000)