mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			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
 |