mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-28 10:19:26 +00:00 
			
		
		
		
	Fixed O(n^2) performance bug in verilog preprocessor
This commit is contained in:
		
							parent
							
								
									058ceda6a0
								
							
						
					
					
						commit
						a362fd81ae
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -62,7 +62,7 @@ static void insert_input(std::string str) | ||||||
| 
 | 
 | ||||||
| static char next_char() | static char next_char() | ||||||
| { | { | ||||||
| 	if (input_buffer.size() == 0) | 	if (input_buffer.empty()) | ||||||
| 		return 0; | 		return 0; | ||||||
| 
 | 
 | ||||||
| 	assert(input_buffer_charp <= input_buffer.front().size()); | 	assert(input_buffer_charp <= input_buffer.front().size()); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue