ruby/benchmark/hash_defaults.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 строки
118 B
YAML
Исходник Обычный вид История

prelude: |
h = Hash.new { :foo }
benchmark:
default_aref: h[1]
default_method: h.default(1)
loop_count: 1000000