Commit Graph
24 Commits
Author SHA1 Message Date
Nigel Tao 425eefeb35 Replace "go get" advice with "go install"
Fixes #62
2021-12-30 22:58:12 +11:00
Nigel Tao 2f2bbc6ab0 Rename default github.com branch s/master/main/ 2021-01-25 11:30:15 +11:00
Nigel Tao ad787cba11 Change ractool default codec from zlib to zstd 2019-12-11 10:21:29 +11:00
Nigel Tao bd96dad333 Update ractool's numbers for zstd-with-dictionary 2019-10-25 11:18:48 +11:00
Nigel Tao b4808596ac Add a ractool -tmpdir flag 2019-09-28 11:40:57 +10:00
Nigel Tao ac7f476c25 Fix cmd/ractool doc typo 2019-09-15 19:49:34 +10:00
Nigel Tao ee4904f1f4 Update cmd/ractool performance numbers 2019-09-15 15:36:15 +10:00
Nigel Tao 7d4c042c49 Add cmd/ractool note about supported codecs 2019-09-15 14:29:44 +10:00
Nigel Tao fed2073b00 Have lib/raczlib use lib/cgozlib
As the cmd/ractool comment changes say, this is almost a 2x speed-up for
RAC+Zlib decoding on the enwik8 test file, comparable to the cgozlib
benchmark numbers:

$ go test -test.bench=. github.com/google/wuffs/lib/cgozlib
goos: linux
goarch: amd64
pkg: github.com/google/wuffs/lib/cgozlib
BenchmarkCgo-56     	    2514	    477230 ns/op
BenchmarkPure-56    	    1090	   1080853 ns/op
2019-09-07 11:35:48 +10:00
Nigel Tao 5125e51916 Add ractool example time for -singlethreaded 2019-09-07 11:29:05 +10:00
Nigel Tao 84878498ef Replace RAC's Brotli Short Codec value by LZ4
RAC still supports Brotli (as a Long Codec, not a Short Codec). It's
just no longer given a dedicated Short Codec value (and therefore less
likely to be supported out-of-the-box by cmd/ractool). Brotli occupies a
similar position to Zstandard on the speed versus size frontier. LZ4
occupies a noticably different position, faster but larger.
2019-09-07 11:19:10 +10:00
Nigel Tao a97dac93e1 Change ractool drange syntax from i:j to i..j
This is more consistent with the RAC spec, and on the Windows command
line the colon might be confused with the ":" in "C:\" names.
2019-09-01 08:27:21 +10:00
Nigel Tao a51577270b Add ractool documentation about parsing "256K" 2019-08-24 16:39:02 +10:00
Nigel Tao f75a10a230 Add "random access" definition to ractool docs 2019-08-24 15:41:35 +10:00
Nigel Tao 22c030b2e0 Have ractool decode in parallel
The "middle of the decompressed file" numbers changed because the
programs were re-run on a desktop, not a laptop.
2019-08-24 12:59:49 +10:00
Nigel Tao bed69b00c5 Add comment on installing cmd/ractool 2019-08-10 20:51:17 +10:00
Nigel Tao 594b26b1c9 Add cmd/ractool extended example 2019-08-09 20:17:33 +10:00
Nigel Tao 6e7c88f42f Add a -resources flag to cmd/ractool 2019-08-09 18:59:10 +10:00
Nigel Tao 6461695fb1 Add ractool comment that "1M" means 1 mebibyte 2019-08-08 16:57:14 +10:00
Nigel Tao 635c3c8fe9 Rename foo.raczlib to foo.rac 2019-08-08 11:31:30 +10:00
Nigel Tao eb017abd31 Have ractool parse "2k" to mean 2048 2019-08-08 11:27:25 +10:00
Nigel Tao 1944a35d4c Add more commentary to ractool's indexlocation 2019-08-08 10:48:01 +10:00
Nigel Tao 917f028f46 Default ractool to use dchunksize not cchunksize 2019-08-08 10:43:54 +10:00
Nigel Tao 737571cef8 Generate ractool's usage from its doc comment 2019-08-08 10:36:43 +10:00