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

Fix parsing issues and a performance issue #12

Merged
merged 2 commits into from
Nov 27, 2023
Merged

Fix parsing issues and a performance issue #12

merged 2 commits into from
Nov 27, 2023

Conversation

JonasAlaif
Copy link
Collaborator

It turns out that the logfile can contain multiline entries, e.g. in the z3 v4.8.7 one sent here at line 15716 there is the entry

[assign] #7690 clause p49 (not p50)
  (and (not (= $allocated val)) (not (= $allocated init)) (not (= $allocated rel)) (not (= $allocated acq)) (not (= val init)) (not (= val rel)) (not (= val acq)) (not (= init rel)) (not (= init acq)) (not (= rel acq))) 
  (not (distinct $allocated val init rel acq)) 

These are now handeled.

@JonasAlaif
Copy link
Collaborator Author

@oskari1 please note the fix here: this little change reduces my overall time (from opening the file to viewing a graph) from 13s to 3s. You have to be very careful to not run O(n^2) operations with such big graphs.

@JonasAlaif JonasAlaif merged commit 708ac46 into viperproject:main Nov 27, 2023
1 of 3 checks passed
@JonasAlaif JonasAlaif deleted the fix-parsing-issues branch November 27, 2023 22:07
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.

1 participant