-
Notifications
You must be signed in to change notification settings - Fork 354
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
Cache streams for queries #7
Comments
Closed
Closed
Closed
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When a query has the same sql and variables, we can assume that it will always yield the same data and should consider them to be equal. Thus, when two equal queries construct a stream, we should only create one stream for both queries.
This will also make moor work more efficient in combination with something like
As each invocation of
watch
would no longer return a different stream.The text was updated successfully, but these errors were encountered: