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

How does this compare to node.js readline? #56

Open
jtara1 opened this issue Mar 24, 2022 · 0 comments
Open

How does this compare to node.js readline? #56

jtara1 opened this issue Mar 24, 2022 · 0 comments

Comments

@jtara1
Copy link

jtara1 commented Mar 24, 2022

https://nodejs.org/docs/latest-v14.x/api/readline.html#readline_example_read_file_stream_line_by_line

node.js docs say

Currently, for await...of loop can be a bit slower. If async / await flow and speed are both essential, a mixed approach can be applied:

and it seems to be an exact replacement for this package, byline. Are there use cases where one may work while the other doesn't. Any benchmarking?

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

No branches or pull requests

1 participant