3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-07-04 14:26:10 +00:00

Avoid unnecessary regex cycle splits

This commit is contained in:
CEisenhofer 2026-05-29 19:14:08 +02:00
parent 70031b674c
commit cebe57dffa
2 changed files with 50 additions and 33 deletions

View file

@ -958,10 +958,10 @@ namespace seq {
// egraph cannot release them on pop. We never shrink this — the
// cache is meant to be monotone.
expr_ref_vector m_partial_dfa_pin;
// Monotone snapshot index ν. Bumped by mark_scc_projection_edges only
// when the explored SCC's edge set actually grows; identifies which
// partial-DFA edges (m_projection_idx ≤ ν) belong to a projection's Q.
unsigned m_projection_extract_idx = 0;
// Per regex-state: size of SCC-edge coverage at last successful projection.
// Keyed by the regex expression's id (NOT the snode id).
u_map<unsigned> m_projection_cover_size;
public: