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

Streaming interface to handle connections #76

Closed
hadley opened this issue Mar 12, 2015 · 6 comments
Closed

Streaming interface to handle connections #76

hadley opened this issue Mar 12, 2015 · 6 comments
Labels

Comments

@hadley
Copy link
Member

@hadley hadley commented Mar 12, 2015

Needs to cache first x lines for autodetection, then manage stream of updates. See xml2 for the libxml2 API

@dselivanov
Copy link

@dselivanov dselivanov commented Sep 21, 2015

@hadley , @romainfrancois , is this in short or middle-term plans? or streaming API has very low priority? I'm wondering, because readLines actually becomes bottleneck in my package. Can I somehow help with this?

@hadley
Copy link
Member Author

@hadley hadley commented Sep 21, 2015

Relatively low priority currently because it's a lot of work. Not sure if it's possible for anyone to help out - it needs some fairly deep changes to the package.

@dselivanov
Copy link

@dselivanov dselivanov commented Sep 21, 2015

@hadley , sorry for offtopic, but may be you can share some insights on how I can implement fast stream reading from connection? I found only this gist. Any links / ideas / whatever_will_help are very appreciated.

@dselivanov
Copy link

@dselivanov dselivanov commented Jul 7, 2016

Gentle followup. Would really big deal.

@hadley hadley added the feature label Feb 1, 2017
@hadley
Copy link
Member Author

@hadley hadley commented Feb 1, 2017

This should be easier to tackle now that we have the callback interface. Ideally, we should just be able to pass a connection, and it'll read it chunk by chunk. The trickiness will be matching up bytes from the connection to lines in the reader.

@jimhester
Copy link
Member

@jimhester jimhester commented May 6, 2021

Fixed by #1172

@jimhester jimhester closed this May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants