miller/cmd/experiments/line-parser
John Kerl a977617797
Address some staticcheck issues (#823)
* address some staticcheck issues

* address some staticcheck issues

* address some staticcheck issues

* address some staticcheck issues
2022-01-01 14:28:19 -05:00
..
read-string.go Address some staticcheck issues (#823) 2022-01-01 14:28:19 -05:00
README.txt Address some staticcheck issues (#823) 2022-01-01 14:28:19 -05:00
scanner.go Address some staticcheck issues (#823) 2022-01-01 14:28:19 -05:00
splitter.go Address some staticcheck issues (#823) 2022-01-01 14:28:19 -05:00

$ ls -l ~/tmp/huge
-rw-r--r--  1 kerl  staff  614295000 Aug 25  2020 /Users/kerl/tmp/huge

$ wc -l ~/tmp/huge
 10000000 /Users/kerl/tmp/huge

$ justtime read-string ~/tmp/huge  > /dev/null
TIME IN SECONDS 8.707 -- read-string /Users/kerl/tmp/huge
$ justtime read-string ~/tmp/huge  > /dev/null
TIME IN SECONDS 8.540 -- read-string /Users/kerl/tmp/huge
$ justtime read-string ~/tmp/huge  > /dev/null
TIME IN SECONDS 8.549 -- read-string /Users/kerl/tmp/huge

$ justtime scanner ~/tmp/huge  > /dev/null
TIME IN SECONDS 8.774 -- scanner /Users/kerl/tmp/huge
$ justtime scanner ~/tmp/huge  > /dev/null
TIME IN SECONDS 8.873 -- scanner /Users/kerl/tmp/huge
$ justtime scanner ~/tmp/huge  > /dev/null
TIME IN SECONDS 8.777 -- scanner /Users/kerl/tmp/huge