-
Notifications
You must be signed in to change notification settings - Fork 208
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
Purge intermediate relations, but not input/output #2286
Purge intermediate relations, but not input/output #2286
Conversation
@adamjseitz maybe we should add a test? I see there are some C++ tests in https://github.com/souffle-lang/souffle/tree/master/tests/interface |
Can you run clang-format? I.e.,
|
Codecov Report
@@ Coverage Diff @@
## master #2286 +/- ##
==========================================
+ Coverage 77.17% 77.41% +0.24%
==========================================
Files 458 461 +3
Lines 29159 28998 -161
==========================================
- Hits 22504 22450 -54
+ Misses 6655 6548 -107
|
b97c28c
to
dc76fd6
Compare
I modified the existing
Sorry! I think the formatting is fixed now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the refactoring!
In #2066, a new option was added to the C++ interface to allow purging intermediate relations. However, the current implementation purges input and output relations, which makes it impractical to use with
performIO
disabled (since the output relations would be purged before there is an opportunity for user code to read the output relation). By excluding input and output relations from those that are purged, the C++ interface can be used withpruneImdtRels
enabled butperformIO
disabled.