mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 04:07:58 +00:00
9 lines
137 B
YAML
9 lines
137 B
YAML
prelude: |
|
|
th = Thread.current
|
|
th[:key] = :val
|
|
benchmark:
|
|
key?: th.key?(:key)
|
|
[]: th[:key]
|
|
keys: th.keys
|
|
loop_count: 1_000_000
|