llogiq/bytecount
View on GitHub ↗ ★ 239 Rust
Counting occurrences of a given byte or UTF-8 characters in a slice of memory – fast
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2017-08-19 · latest 2018-06-05
20082026
-
…doesn't tell you is that line counting is also done with SIMD since it started using bytecount ( https://github.com/llogiq/bytecount ) some months ago, which sped up some workloads with line numbers considerably.
comment by llogiq · 2018-06-05 · in Sloc Cloc and Code – What Happened on the Way to Faster Cloc -
…in some cases, but the general conclusion of "ripgrep is the fastest" is still correct. [1] - https://github.com/llogiq/bytecount
comment by burntsushi · 2018-01-09 · in Feature comparison of ack, ag, git-grep, GNU grep and ripgrep -
…reaching a terminating state.) In practice I rather my types looking much plainer, though: https://github.com/llogiq/bytecount/blob/master/src/lib.rs
comment by Veedrac · 2017-08-19 · in Why Type Systems Matter