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

Set internal buffer size? #4

Open
turbobuilt opened this issue Dec 2, 2015 · 0 comments
Open

Set internal buffer size? #4

turbobuilt opened this issue Dec 2, 2015 · 0 comments

Comments

@turbobuilt
Copy link

Hello,

First, thanks so much for a great package... Makes my life easier! I have a suggestion that could make this plugin a little more useful.

The problem - reading line-by-line from disk is probably significantly slower than reading all at once, if memory is big enough. However, this is useful if memory is not big enough. However, it might improve performance if you could set an internal buffer size so that this module internally read, say a buffer of 10MB at a time, but only provided one line at a time, thereby improving performance.

Do you think this would have a performance benefit? I'm no I/O expert, but it seems like it might.

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