mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	A prerequisite to fix https://bugs.ruby-lang.org/issues/15589 with JIT. This commit alone doesn't make a significant difference yet, but I thought this commit should be committed independently. This method override was discussed in [Misc #16961].
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			108 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			108 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
benchmark:
 | 
						|
  - 0.zero?
 | 
						|
  - 1.zero?
 | 
						|
  - 0r.zero?
 | 
						|
  - 1r.zero?
 | 
						|
  - 0i.zero?
 | 
						|
  - 1i.zero?
 | 
						|
loop_count: 50000000
 |