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

Add a fully transducer version of the core namespace #4

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

pangloss
Copy link
Owner

@pangloss pangloss commented Oct 5, 2023

This is currently somewhat experimental, but for many cases it seems to work great. I have not yet compared performance between the transducer and non-transducer versions.

I have not found a way to make the functions that explicitly handle loops (all, deepest, descending, descents, etc) work as transducers. I am not certain whether that is even possible given that transducers are eager and queries on circular graph paths may easily be infinite.

However, I think it's likely worthwhile to have transducer variants of queries available very common use case of non-circular queries.

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