Skip to content

Conversation

anderson4j
Copy link
Collaborator

@anderson4j anderson4j commented Oct 17, 2025

An attempt at a bailing heuristic. The first simple idea we have here, is to bail unless we write a non-letter/number.
This way, it's not until you have finished a label/reltype in queries like
MATCH (n:Person) (not triggered for P, Pe etc, but triggered at ) in the node pattern)
or
MATCH (n:Person)-[:KNOWS] (triggered at ]) in the rel pattern)
This both reduces unnecessary recalculations from using computer resources, but also prevents us from waiting for the calculation from an unfinished node pattern etc before starting the calculation for the finished pattern.

The downside is for example if one changes only the label of a node. Then one would not need to close the pattern/continue the path - heuristic would skip symbol table update - but the symbol table would actually be outdated

Copy link

changeset-bot bot commented Oct 17, 2025

⚠️ No Changeset found

Latest commit: 2f6a56a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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