Skip to content

utils: rewrite count_newlines using bytecount::count#3096

Merged
nrc merged 1 commit intorust-lang:masterfrom
otavio:use-bytecount-count
Oct 14, 2018
Merged

utils: rewrite count_newlines using bytecount::count#3096
nrc merged 1 commit intorust-lang:masterfrom
otavio:use-bytecount-count

Conversation

@otavio
Copy link
Contributor

@otavio otavio commented Oct 13, 2018

Signed-off-by: Otavio Salvador otavio@ossystems.com.br

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 <otavio@ossystems.com.br>
@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