update readme

master
Christien Rioux 9 years ago
parent 82062d4e63
commit 7a2a4a601c

@ -7,7 +7,7 @@ turbo-linecount 1.0 Copyright 2015, Christien Rioux
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-l` 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:
@ -54,7 +54,7 @@ Cygwin
### Testing
Testing cmake against `wc` and `python` can be done with the test scripts. To generate some random test files, run `create_testfiles.sh`, and four test files, one 10MB, one 100MB, one 1GB, and one 10GB file will be created. Feel free to delete these when you're done testing to save space.
Testing cmake against `wc -l` and `python` can be done with the test scripts. To generate some random test files, run `create_testfiles.sh`, and four test files, one 10MB, one 100MB, one 1GB, and one 10GB file will be created. Feel free to delete these when you're done testing to save space.
To run the test, run `compare_testfiles.sh`. This will generate output as such:

Loading…
Cancel
Save