diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-20 19:11:20 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-20 19:11:20 +0000 |
commit | c629aecbc810e8014a88943a2b3ddcb716aa6ffb (patch) | |
tree | ed2f36eec95b38b9a3e157690d45da9b2909f3f8 /debug.c | |
parent | 3fffbe1e82d974a3bb6cdba58733086a369d4b06 (diff) | |
download | ruby-c629aecbc810e8014a88943a2b3ddcb716aa6ffb.tar.gz |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@13123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'debug.c')
0 files changed, 0 insertions, 0 deletions