Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LOGIC-112: Incorrect results with tabled resolution
The bug was introduced when we switched the answer cache to sets. In `reuse` we were calling `first` on the set which of course won't work. We not have an `AnswerCache` type. This holds both the list of answers for determining the fixpoint as well as the answers as a set for quickly determining whether we've already cached an answer. The additionally memory overhead does make it desirable to have more sharing of tabled information between answer caches.
- Loading branch information
1 parent
62897f3
commit 53cbfca
Showing
2 changed files
with
35 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters