Skip to content

chore(pumpkin-core): Update cached predicate when known to not be satisfied - #601

Open
ImkoMarijnissen wants to merge 1 commit into
mainfrom
chore/nogood-cached-predicate
Open

ImkoMarijnissen wants to merge 1 commit into
mainfrom
chore/nogood-cached-predicate

Conversation

@ImkoMarijnissen

Copy link
Copy Markdown
Contributor

This PR does 3 things:

  1. When a nogood is created, the cached predicate points to the other watched predicate.
  2. When a new watcher is found, the cached predicate is updated to be the other watched predicate (which is known to not be falsified, as it would otherwise have never looked for a new watcher).
  3. Registers the PredicateId directly, instead of looking up the Predicate, and then afterwards looking up the PredicateId again.

@ImkoMarijnissen
ImkoMarijnissen requested a review from EmirDe October 5, 2026 10:06

This branch has not been deployed

No deployments
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