-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split
ExecutionEngine::execute
into smaller functions (#549)
note: based on #548 Rule execution is now performed in `ExecutionEngine::step`, which returns a `Vec` of the changed predicates. De fragmentation of tables is performed separately in `ExecutionEngine::defrag`. Also `ExectionEngine::initialize` takes ownership of its `Program` parameter instead of taking a reference and then cloning it, which is just bad practice. Finally the odd `ChaseProgram` parameter, which was handed down to the tracing functions is removed, by being a bit more conscious about where and what to clone. Note that this will likely change later, as I'm cleaning up more of the tracing code.
- Loading branch information
Showing
5 changed files
with
64 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
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
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