mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 10:55:50 +00:00
api_context: consolidate ast trail vectors
a context never changes between user rc/non-user rc, so we can reuse the trail for both options and save memory & smallish speedup
This commit is contained in:
parent
f4127bd6f3
commit
853ce099ec
2 changed files with 7 additions and 12 deletions
|
@ -91,8 +91,7 @@ namespace api {
|
|||
smt_params m_fparams;
|
||||
// -------------------------------
|
||||
|
||||
ast_ref_vector m_last_result; //!< used when m_user_ref_count == true
|
||||
ast_ref_vector m_ast_trail; //!< used when m_user_ref_count == false
|
||||
ast_ref_vector m_ast_trail;
|
||||
|
||||
ref<api::object> m_last_obj; //!< reference to the last API object returned by the APIs
|
||||
u_map<api::object*> m_allocated_objects; // !< table containing current set of allocated API objects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue