Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: data structure of path conditions #310

Merged
merged 3 commits into from
Jun 23, 2024
Merged

Conversation

daejunpark
Copy link
Collaborator

No description provided.

@daejunpark daejunpark merged commit 060a6d8 into main Jun 23, 2024
62 checks passed
@daejunpark daejunpark deleted the refactor/path-class branch June 23, 2024 21:33
pending: List

def __init__(self, solver: Solver):
self.solver = solver
self.num_scopes = 0
self.conditions = []
self.branching = []
self.conditions = {}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

neat!

[
f"- {cond}\n"
for cond in self.conditions
if self.conditions[cond] and str(cond) != "True"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

str(cond) can be expensive, we should use is_true(cond) here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants