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

perf: When property path is bound both sides, use both bindings #67

Conversation

sroze
Copy link
Contributor

@sroze sroze commented Jul 2, 2021

At the moment, even if both sides of the property path are bound, the triple match will have one side unbound: this is a performance bottleneck, especially for large datasets.

This PR changes this.


ASK WHERE {
{
:Alice foaf:knows | :hate :Bob.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: this actually doesn't test the query being made but more that it still works well.

@Callidon
Copy link
Owner

Callidon commented Jul 7, 2021

Thanks for the fix, I'm merging it right away.

@Callidon Callidon merged commit 40ae38e into Callidon:master Jul 7, 2021
@Callidon
Copy link
Owner

Callidon commented Jul 7, 2021

@sroze Do you have others optimizations/bug fixes in preparation for the package? Just to know if I can publish a minor release right away, to publish your contributions, or if I need to wait for more stuff to come 😃

@sroze
Copy link
Contributor Author

sroze commented Jul 7, 2021

@Callidon so far so good, that's all I found, you can release a minor version. Thank you!

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

2 participants