-
Notifications
You must be signed in to change notification settings - Fork 17
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
Implement --stream
#133
Comments
Actually generator wouldn't work since for example the Also it's hard to do send/recv, since |
Though |
Here's a code to see the feasibility. https://gist.github.com/MiSawa/4e4086bd649f4639f390b93ca214f7f0 |
Here's an implementation. Though it uses GATs in a non-essential part so require a nightly compiler to build. https://github.com/MiSawa/xq-stream-test |
To really implement this without expand JSON in memory, we need one of followings
std::sync::mpsc::sync_channel(0)
(or1
so the reader thread can read one element ahead) to do a similar with above, orThe text was updated successfully, but these errors were encountered: