fatedier
|
0d9c4c05f1
fix typo
|
8 lat temu |
Nigel Tao
|
988ce01844
Add a fast path for short emitLiteral calls.
|
9 lat temu |
Nigel Tao
|
6880122951
Write the encoder's encodeBlock in asm.
|
9 lat temu |
Nigel Tao
|
17e435849f
Restrict the scope of the tableSize variable.
|
9 lat temu |
Nigel Tao
|
0c43e98dfe
Add comment that dst and src must not overlap.
|
9 lat temu |
Nigel Tao
|
62bb72da9a
Write the encoder's emitLiteral in asm.
|
9 lat temu |
Nigel Tao
|
d8211ff0ee
Write the encoder's emitCopy in asm.
|
9 lat temu |
Nigel Tao
|
4f2f9a13dd
Write the encoder's extendMatch in asm.
|
9 lat temu |
Nigel Tao
|
1f4d362d6d
Clarify the emitLiteral and emitCopy preconditions.
|
9 lat temu |
Nigel Tao
|
774a97396f
Remove the no-longer-used maxOffset constant.
|
9 lat temu |
Nigel Tao
|
fa0b0e6289
Eliminate some bounds checks.
|
9 lat temu |
Nigel Tao
|
ef80b33e87
Change the encoder's hash table values from int32 to uint16.
|
9 lat temu |
Nigel Tao
|
9bc0b5ad10
Make heuristic match skipping more aggressive.
|
9 lat temu |
Nigel Tao
|
cef980a12b
Add more commentary to minNonLiteralBlockSize.
|
9 lat temu |
Nigel Tao
|
6218a584d0
Clarify the semantics of minNonLiteralBlockSize.
|
9 lat temu |
Nigel Tao
|
8939696c22
Use the same encoding algorithm as C++ snappy.
|
9 lat temu |
Nigel Tao
|
ebebc71721
Raise the "always encode as literal" size threshold from 4 to 14.
|
9 lat temu |
Nigel Tao
|
7ede8d1b13
Eliminate some bounds checks in the encoder.
|
9 lat temu |
Nigel Tao
|
d1f56d2222
Encode copies of length 65, 66 or 67 as 5 bytes, not 6.
|
9 lat temu |
Nigel Tao
|
624b11c0e0
Fix some comment styles.
|
9 lat temu |
Nigel Tao
|
bf2ded9d81
Use 64K blocks when encoding long inputs.
|
9 lat temu |
Nigel Tao
|
d1d908a252
Fix heuristic match skipping.
|
9 lat temu |
Nigel Tao
|
c2359a1bd0
Catch MaxEncodedLen overflow.
|
9 lat temu |
Nigel Tao
|
cc71ae7cc5
Change the encoder's hash table values from int to int32.
|
9 lat temu |
Nigel Tao
|
07070fd417
Catch overflow when incrementing src pointers.
|
9 lat temu |
Nigel Tao
|
799c780093
Reduce the number of Write calls to the underlying io.Writer.
|
9 lat temu |
Nigel Tao
|
0fd139378b
Add NewBufferedWriter, and Flush and Close methods.
|
9 lat temu |
Nigel Tao
|
4e2aa98ebb
Skip multiple bytes if the last match was >= 32 bytes prior.
|
9 lat temu |
Damian Gryski
|
ec7b924342
C++ snappy has moved to github
|
10 lat temu |
Nigel Tao
|
2a6d64140d
Have Encode return []byte instead of ([]byte, error).
|
10 lat temu |