mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 16:47:28 +01:00
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)
This commit is contained in:
1 parent
185b7da6c6
commit
76a63e751e
2 files changed
+56
No files matched your search
@@ -89,6 +89,7 @@ func TestHuffmanDecode(t *testing.T) {
|
||||
0: 'F', 1: 'A', 2: 'B', 3: 'C', 4: 'D', 5: 'E', 6: 'G', 7: 'H',
|
||||
},
|
||||
}
|
||||
h.constructLookUpTable()
|
||||
|
||||
b := &bitstream{
|
||||
bytes: encoded,
|
||||
|
||||
Reference in new issue
Block a user