Nigel Tao
|
6b40d3ede1
|
Fix rac.Reader seeking inside the implicit zeroes
|
2019-08-06 20:20:51 +10:00 |
|
Nigel Tao
|
db407e37c6
|
Fix rac IndexLocationAtEnd for deep index trees
|
2019-08-06 18:38:50 +10:00 |
|
Nigel Tao
|
c5c32d62b6
|
Refactor raczlib.Reader as rac part + zlib part
|
2019-08-06 15:28:54 +10:00 |
|
Nigel Tao
|
a8082bf301
|
Rename rac.Reader to rac.Parser
|
2019-08-06 15:25:44 +10:00 |
|
Nigel Tao
|
5c16eac8bb
|
Rename lib/rac's reader.go to parser.go
|
2019-08-06 13:28:47 +10:00 |
|
Nigel Tao
|
93870d0d1d
|
Prepare to generalize a raczlib.Reader
|
2019-08-06 11:40:58 +10:00 |
|
Nigel Tao
|
f4919ad565
|
Add {lang,lib}/README.md
|
2019-08-06 10:57:30 +10:00 |
|
Nigel Tao
|
42ec5a029f
|
Have raczlib check the dictionary TTag
|
2019-08-06 10:22:38 +10:00 |
|
Nigel Tao
|
df8ecfbb0a
|
Add examples to the RAC spec
|
2019-08-05 22:50:32 +10:00 |
|
Nigel Tao
|
c1974521da
|
Add a test for concatenated RAC files
|
2019-08-05 22:18:51 +10:00 |
|
Nigel Tao
|
0eb23c67b6
|
Have raczlib.Reader support shared dictionaries
|
2019-08-05 18:09:05 +10:00 |
|
Nigel Tao
|
566e8e0424
|
Add a raczlib.Reader
|
2019-08-05 15:42:56 +10:00 |
|
Nigel Tao
|
774744d2f3
|
Fix package rac's examples for godoc convention
|
2019-08-05 12:53:15 +10:00 |
|
Nigel Tao
|
89c2bf655c
|
Remove TODO comment about implementing raczlib
|
2019-08-05 12:40:43 +10:00 |
|
Nigel Tao
|
4c41a5c240
|
Add comment about rac.Reader using io.ReaderAt
|
2019-08-05 09:02:41 +10:00 |
|
Nigel Tao
|
63f3ac927f
|
Differentiate primary data in a rac test
|
2019-08-04 22:17:32 +10:00 |
|
Nigel Tao
|
0c430ed507
|
Rename the internal rac.node type
|
2019-08-04 22:14:24 +10:00 |
|
Nigel Tao
|
877078a28b
|
Rename lib/rac test file
|
2019-08-04 22:12:28 +10:00 |
|
Nigel Tao
|
861ae95f8c
|
Add a rac.Reader
|
2019-08-04 22:07:43 +10:00 |
|
Nigel Tao
|
e292a22ccb
|
Fix rac.Writer's TTag for branch nodes
|
2019-08-04 16:39:29 +10:00 |
|
Nigel Tao
|
40d08bbee1
|
Add lib/zlibcut/example_test.go
|
2019-07-06 07:48:30 +10:00 |
|
Nigel Tao
|
d3c33aa232
|
Add cmd/ractool and lib/raczlib
|
2019-06-16 11:36:29 +10:00 |
|
Nigel Tao
|
155e2ff426
|
Have flatecut emit Stored blocks if shorter
|
2019-05-25 10:52:22 +10:00 |
|
Nigel Tao
|
0cc17985db
|
Let flatecut accept a degenerate Huffman tree
|
2019-05-21 11:08:39 +10:00 |
|
Nigel Tao
|
52261e7528
|
Fix rac.MaxSize comment typo
|
2019-05-21 08:53:35 +10:00 |
|
Nigel Tao
|
5cfb01a69b
|
Fix rac.Writer with more than 510 leaf nodes
|
2019-04-28 19:49:06 +10:00 |
|
Nigel Tao
|
a79eb83f65
|
Have flatecut.Cut take an optional io.Writer arg
|
2019-04-20 10:35:58 +10:00 |
|
Nigel Tao
|
b54f3b4df3
|
Have flatecut use a 64-bit bit buffer, not 32
name old time/op new time/op delta
pkg:github.com/google/wuffs/lib/flatecut goos:linux goarch:amd64
Cut-56 919µs ± 0% 867µs ± 0% -5.70% (p=0.008 n=5+5)
pkg:github.com/google/wuffs/lib/zlibcut goos:linux goarch:amd64
Cut-56 2.34ms ± 1% 2.28ms ± 0% -2.46% (p=0.008 n=5+5)
|
2019-04-20 09:59:52 +10:00 |
|
Nigel Tao
|
fe3767ad6c
|
Have flatecut's huffman.decode load more bits
name old time/op new time/op delta
pkg:github.com/google/wuffs/lib/flatecut goos:linux goarch:amd64
Cut-56 1.03ms ± 0% 0.92ms ± 0% -10.44% (p=0.008 n=5+5)
pkg:github.com/google/wuffs/lib/zlibcut goos:linux goarch:amd64
Cut-56 2.44ms ± 0% 2.34ms ± 1% -4.19% (p=0.008 n=5+5)
|
2019-04-20 09:47:05 +10:00 |
|
Nigel Tao
|
4250c3a7af
|
Tweak flatecut's huffman.decode
name old time/op new time/op delta
pkg:github.com/google/wuffs/lib/flatecut goos:linux goarch:amd64
Cut-56 1.05ms ± 0% 1.03ms ± 0% -2.32% (p=0.008 n=5+5)
pkg:github.com/google/wuffs/lib/zlibcut goos:linux goarch:amd64
Cut-56 2.48ms ± 0% 2.44ms ± 0% -1.44% (p=0.008 n=5+5)
|
2019-04-20 09:39:17 +10:00 |
|
Nigel Tao
|
89d7aa7261
|
Don't rewind flatecut's bitstream so often
name old time/op new time/op delta
pkg:github.com/google/wuffs/lib/flatecut goos:linux goarch:amd64
Cut-56 1.27ms ± 0% 1.05ms ± 0% -17.52% (p=0.008 n=5+5)
pkg:github.com/google/wuffs/lib/zlibcut goos:linux goarch:amd64
Cut-56 2.72ms ± 1% 2.48ms ± 0% -9.06% (p=0.008 n=5+5)
|
2019-04-20 09:25:19 +10:00 |
|
Nigel Tao
|
76a63e751e
|
Add a look-up table to flatecut
name old time/op new time/op delta
pkg:github.com/google/wuffs/lib/flatecut goos:linux goarch:amd64
Cut-56 1.50ms ± 1% 1.27ms ± 0% -14.96% (p=0.008 n=5+5)
pkg:github.com/google/wuffs/lib/zlibcut goos:linux goarch:amd64
Cut-56 2.94ms ± 0% 2.72ms ± 1% -7.39% (p=0.008 n=5+5)
|
2019-04-20 08:38:34 +10:00 |
|
Nigel Tao
|
185b7da6c6
|
Add a test for flatecut's Huffman decoder
|
2019-04-20 08:34:26 +10:00 |
|
Nigel Tao
|
abd58b4414
|
Fix rac.Writer with a multi-level index
|
2019-04-13 08:47:04 +10:00 |
|
Nigel Tao
|
0e3d691048
|
Add rac.Writer code path for empty input
|
2019-04-07 13:24:42 +10:00 |
|
Nigel Tao
|
7e26fe8086
|
Rename some "cOffset" variables
|
2019-04-07 13:00:18 +10:00 |
|
Nigel Tao
|
7be27661b9
|
Add a rac.Writer.CPageSize field
|
2019-04-07 12:53:39 +10:00 |
|
Nigel Tao
|
369d854a34
|
Have rac.Writer check for too much input
|
2019-04-07 10:54:18 +10:00 |
|
Nigel Tao
|
ad8b1540c3
|
Add CLen fields to the RAC file format
|
2019-04-07 10:09:51 +10:00 |
|
Nigel Tao
|
8cefc932c3
|
Add RAC examples
|
2019-04-07 10:09:51 +10:00 |
|
Nigel Tao
|
16df03f9dc
|
Add a lib/rac package
|
2019-04-07 10:09:50 +10:00 |
|
Nigel Tao
|
f59e16e337
|
Add a lib/zlibcut package
|
2019-04-06 10:16:43 +11:00 |
|
Nigel Tao
|
49ab667a4d
|
Add comment separating the copyright notice
|
2019-03-16 14:04:14 +11:00 |
|
Nigel Tao
|
3680b2a11b
|
Move NIE spec to a new doc/spec directory
|
2019-03-09 12:39:40 +11:00 |
|
Nigel Tao
|
463079dd50
|
Add some NIE examples
|
2019-02-09 08:00:05 +11:00 |
|
Nigel Tao
|
705a84723a
|
For "x shift y", check that y < (x's bit-size)
|
2019-01-26 16:51:49 +11:00 |
|
Nigel Tao
|
9c631e25cf
|
Fix lib/nie/README.md typo
|
2018-12-30 22:21:27 +11:00 |
|
Nigel Tao
|
5addc976aa
|
Add docs for Naïve Image Formats: NIE, NII, NIA
|
2018-12-30 22:14:39 +11:00 |
|
Nigel Tao
|
20e82ba97b
|
Use interval.IntRange instead of ast.Bounds
|
2018-12-26 14:02:34 +11:00 |
|
Nigel Tao
|
98b2aa9837
|
Move some Go packages from lang/foo to lib/foo
|
2018-08-04 09:17:08 +10:00 |
|