-
Notifications
You must be signed in to change notification settings - Fork 28
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
Performance issue #14
Comments
Can you post the fixed code? |
here is the version that I use now. I changed only _extractLines.
|
Implemented this within a PR: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I converted scripts from another language to NodeJS, and ran into performance issues: The NodeJS version was running 2 to 3 times slower than previous scripts. I tracked it down to the LineByLine.prototype._extractLines method.
Changing the while loop and bufferPosition++ to use directly buffer.indexOf solved the issue. I can provide the code snippet if needed.
Please fix this performance issue in the next release.
The text was updated successfully, but these errors were encountered: