mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Major refactoring of equiv_struct
This commit is contained in:
		
							parent
							
								
									207736b4ee
								
							
						
					
					
						commit
						d014ba2d0e
					
				
					 2 changed files with 176 additions and 99 deletions
				
			
		|  | @ -162,6 +162,11 @@ struct hash_obj_ops { | |||
| 	} | ||||
| }; | ||||
| 
 | ||||
| template<typename T> | ||||
| inline unsigned int mkhash(const T &v) { | ||||
| 	return hash_ops<T>().hash(v); | ||||
| } | ||||
| 
 | ||||
| inline int hashtable_size(int min_size) | ||||
| { | ||||
| 	static std::vector<int> zero_and_some_primes = { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue