mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	increase starting size of ast's hash table to 512k entries (instead of 8) (#5040)
This commit is contained in:
		
							parent
							
								
									56478f917b
								
							
						
					
					
						commit
						4c9fed21e2
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -966,6 +966,7 @@ class ast_translation;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class ast_table : public chashtable<ast*, obj_ptr_hash<ast>, ast_eq_proc> {
 | 
					class ast_table : public chashtable<ast*, obj_ptr_hash<ast>, ast_eq_proc> {
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
 | 
					    ast_table() : chashtable({}, {}, 512 * 1024, 8 * 1024) {}
 | 
				
			||||||
    void push_erase(ast * n);
 | 
					    void push_erase(ast * n);
 | 
				
			||||||
    ast* pop_erase();
 | 
					    ast* pop_erase();
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue