mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	GH-131798: Optimize cached class attributes and methods in the JIT (GH-134403)
This commit is contained in:
		
							parent
							
								
									09e72cf091
								
							
						
					
					
						commit
						ec736e7dae
					
				
					 12 changed files with 365 additions and 130 deletions
				
			
		|  | @ -451,6 +451,9 @@ write_location_entry_start(uint8_t *ptr, int code, int length) | |||
| #define ADAPTIVE_COOLDOWN_BACKOFF 0 | ||||
| 
 | ||||
| // Can't assert this in pycore_backoff.h because of header order dependencies
 | ||||
| #if JUMP_BACKWARD_INITIAL_VALUE <= ADAPTIVE_COOLDOWN_VALUE | ||||
| #  error  "JIT threshold value should be larger than adaptive cooldown value" | ||||
| #endif | ||||
| #if SIDE_EXIT_INITIAL_VALUE <= ADAPTIVE_COOLDOWN_VALUE | ||||
| #  error  "Cold exit value should be larger than adaptive cooldown value" | ||||
| #endif | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brandt Bucher
						Brandt Bucher