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

Split ExecutionEngine::execute into smaller functions #549

Merged
merged 3 commits into from
Nov 12, 2024

Conversation

matzemathics
Copy link
Collaborator

@matzemathics matzemathics commented Nov 2, 2024

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.

@aannleax aannleax self-requested a review November 11, 2024 13:07
Copy link
Member

@aannleax aannleax left a comment

Choose a reason for hiding this comment

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

Like the change :)

@matzemathics matzemathics merged commit 8a7b9c7 into main Nov 12, 2024
8 checks passed
@matzemathics matzemathics deleted the partition-execution-engine-loop branch November 12, 2024 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants