Skip to content

utils: rewrite count_newlines using bytecount::count #3096

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

Merged
merged 1 commit into from
Oct 14, 2018
Merged

utils: rewrite count_newlines using bytecount::count #3096

merged 1 commit into from
Oct 14, 2018

Conversation

otavio
Copy link
Contributor

@otavio otavio commented Oct 13, 2018

Signed-off-by: Otavio Salvador [email protected]

Copy link
Member

@nrc nrc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

This uses a optimized byte count and also makes use of SIMD
instructions to optimize the processing of the byte arrays.

Signed-off-by: Otavio Salvador <[email protected]>
@nrc nrc merged commit 51ddac3 into rust-lang:master Oct 14, 2018
@otavio otavio deleted the use-bytecount-count branch October 15, 2018 12:48
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

Successfully merging this pull request may close these issues.

2 participants