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

use LIKELY() to improve query performance #218

Merged
merged 1 commit into from
Dec 13, 2021

Conversation

missinglink
Copy link
Member

@missinglink missinglink commented Dec 13, 2021

the changes in #216 introduced a performance regression for the query san francisco, washington.

as there are now two methods of matching tokens the query planner may not be sure which to choose, by labelling the new check as LIKELY we can give the query planner a hint.

@missinglink missinglink changed the title feat(query): use LIKELY() to improve query performance use LIKELY() to improve query performance Dec 13, 2021
@missinglink missinglink merged commit 92c175d into master Dec 13, 2021
@missinglink missinglink deleted the query-planner-optimization branch December 13, 2021 14:43
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.

None yet

1 participant