mirror of
https://github.com/crioux/turbo-linecount.git
synced 2024-10-27 17:24:01 +00:00
update readme
This commit is contained in:
parent
771cbe7226
commit
82062d4e63
@ -5,9 +5,9 @@ turbo-linecount 1.0 Copyright 2015, Christien Rioux
|
||||
|
||||
*turbo-linecount* is a tool that simply counts the number of lines in a file, as fast as possible. It reads the file in large chunks into several threads and quickly scans the file for line endings.
|
||||
|
||||
Many times, you have to count the number of lines in text file on disk. The typical solution is to use 'wc -l' on the command line. 'wc' uses buffered streams to process the file, which has its advantages, but it is slower than direct memory mapped file access. You can't 'pipe' to
|
||||
Many times, you have to count the number of lines in text file on disk. The typical solution is to use `wc -l` on the command line. `wc -l` uses buffered streams to process the file, which has its advantages, but it is slower than direct memory mapped file access. You can't 'pipe' to
|
||||
|
||||
How much faster is *turbo-linecount*? About 8 times faster than `wc` and 5 times faster than the naive Python implementation.
|
||||
How much faster is *turbo-linecount*? About 8 times faster than `wc-l` and 5 times faster than the naive Python implementation.
|
||||
|
||||
To use *turbo-linecount*, just run the command line:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user