summaryrefslogtreecommitdiffstats
path: root/ruby.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-20 19:11:20 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-20 19:11:20 +0000
commit92f72cb8d144d289f83cd0de6120baac807550a1 (patch)
treeed2f36eec95b38b9a3e157690d45da9b2909f3f8 /ruby.c
parentfa7f1511e7310ed98b3e2a16d56ef071141781c1 (diff)
downloadruby-92f72cb8d144d289f83cd0de6120baac807550a1.tar.gz
ruby-92f72cb8d144d289f83cd0de6120baac807550a1.tar.xz
ruby-92f72cb8d144d289f83cd0de6120baac807550a1.zip
* benchmark/bm_vm2_case.rb: add a new benchmark.
YARV optimize case/when syntax. If every conditions are literal (such as Symbol, Fixnum, String), dispatch calc order will be O(1). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
0 files changed, 0 insertions, 0 deletions