mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
086ffe72c7
This reverts commit a0980f2446
.
Retry for macOS Mojave.
9 lines
185 B
YAML
9 lines
185 B
YAML
prelude: |
|
|
class Niller; def nil?; true; end; end
|
|
xnil, notnil = nil, Object.new
|
|
niller = Niller.new
|
|
benchmark:
|
|
- xnil.nil?
|
|
- notnil.nil?
|
|
- niller.nil?
|
|
loop_count: 10000000
|