mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Generally comparable perf for the "good" case where memchr doesn't return any collisions (false matches on lower byte) but clearly faster with collisions.
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			257 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			257 B
		
	
	
	
		
			C
		
	
	
	
	
	
#undef FASTSEARCH
 | 
						|
#undef STRINGLIB
 | 
						|
#undef STRINGLIB_SIZEOF_CHAR
 | 
						|
#undef STRINGLIB_MAX_CHAR
 | 
						|
#undef STRINGLIB_CHAR
 | 
						|
#undef STRINGLIB_STR
 | 
						|
#undef STRINGLIB_LEN
 | 
						|
#undef STRINGLIB_NEW
 | 
						|
#undef STRINGLIB_IS_UNICODE
 | 
						|
#undef STRINGLIB_MUTABLE
 | 
						|
#undef STRINGLIB_FAST_MEMCHR
 |