From 7a2a4a601ccbd2ec1bd1c5926df08694d5046ee1 Mon Sep 17 00:00:00 2001 From: Christien Rioux Date: Sun, 13 Dec 2015 02:11:39 -0800 Subject: [PATCH] update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 16a8597..4f325a5 100644 --- a/README.md +++ b/README.md @@ -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: