The Wayback Machine - https://web.archive.org/web/20201201063931/https://github.com/alex/line-counter
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

README.md

line-counter

High performance implementation of a subset of wc -l. Counts the number of \n that appear in a file... and nothing more.

Seems to be nearly 3x faster than wc -l on a 4.2GB CSV with 28 million lines.

Usage:

$ command | line-counter
1234
$ line-counter file1.txt file2.txt
1234 file1.txt
4321 file2.txt

About

Like `wc -l`, but in Rust and maybe faster

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.