* include/ruby/ruby.h (rb_intern): use rb_intern2 with strlen for
[ruby-svn.git] / benchmark / bm_vm1_length.rb
blob2d7d7f0b52d7d33184398d32e2956ad55f681af4
1 a = 'abc'
2 b = [1, 2, 3]
3 i=0
4 while i<30000000 # while loop 1
5   i+=1
6   a.length
7   b.length
8 end