Nigel Tao
|
3588d1dd84
Add appengine and noasm build tags.
|
9 tahun lalu |
Nigel Tao
|
fa0b0e6289
Eliminate some bounds checks.
|
9 tahun lalu |
Nigel Tao
|
ef80b33e87
Change the encoder's hash table values from int32 to uint16.
|
9 tahun lalu |
Nigel Tao
|
70f093abd7
Use a more compressible golden input for the tests.
|
9 tahun lalu |
Nigel Tao
|
9bc0b5ad10
Make heuristic match skipping more aggressive.
|
9 tahun lalu |
Nigel Tao
|
cef980a12b
Add more commentary to minNonLiteralBlockSize.
|
9 tahun lalu |
Nigel Tao
|
6218a584d0
Clarify the semantics of minNonLiteralBlockSize.
|
9 tahun lalu |
Nigel Tao
|
a2aa89c177
Add a TestSameEncodingAsCppShortCopies test.
|
9 tahun lalu |
Nigel Tao
|
857ad66e00
Add gc build tag for the asm code.
|
9 tahun lalu |
Nigel Tao
|
3675542200
Don't allow EOF in the middle of a framing chunk.
|
9 tahun lalu |
Nigel Tao
|
0e8b256be2
Fix a too-long uncompressed frame chunk causing a panic.
|
9 tahun lalu |
Nigel Tao
|
aca045a2df
Clarify when goEncoderShouldMatchCppEncoder.
|
9 tahun lalu |
Nigel Tao
|
8939696c22
Use the same encoding algorithm as C++ snappy.
|
9 tahun lalu |
Nigel Tao
|
ebebc71721
Raise the "always encode as literal" size threshold from 4 to 14.
|
9 tahun lalu |
Nigel Tao
|
7ede8d1b13
Eliminate some bounds checks in the encoder.
|
9 tahun lalu |
Nigel Tao
|
d1f56d2222
Encode copies of length 65, 66 or 67 as 5 bytes, not 6.
|
9 tahun lalu |
Nigel Tao
|
5f1c01d9f6
Optimize a 16-byte load and store.
|
9 tahun lalu |
Nigel Tao
|
427fb6fc07
Optimize asm for decoding copy fragments some more.
|
9 tahun lalu |
Nigel Tao
|
4c1fc8e426
Optimize asm for decoding copy fragments.
|
9 tahun lalu |
Nigel Tao
|
8c7c9dec59
Optimize asm for decoding literal fragments.
|
9 tahun lalu |
Nigel Tao
|
402436317a
Rewrite the core of the decoder in asm.
|
9 tahun lalu |
Nigel Tao
|
03ee571cd3
Use more than one 'not present' byte value to catch Decode overruns.
|
9 tahun lalu |
Nigel Tao
|
9eb9b0a693
Add a comment about forwardCopy semantics.
|
9 tahun lalu |
Nigel Tao
|
da163d3224
Note that Decode's dst and src must not overlap.
|
9 tahun lalu |
Nigel Tao
|
12528fe033
Make TestDecodeLengthOffset test values above 16.
|
9 tahun lalu |
Nigel Tao
|
32b392a8a6
Make a small s/uint/uint32/ decoder optimization.
|
9 tahun lalu |
Nigel Tao
|
624b11c0e0
Fix some comment styles.
|
9 tahun lalu |
Nigel Tao
|
bb00731b7e
Ensure that Decode doesn't write past the decoded length.
|
9 tahun lalu |
Nigel Tao
|
343d0f4579
Add a snappytool command that uses the C++ library.
|
9 tahun lalu |
Nigel Tao
|
f1ae40350d
Update .gitignore.
|
9 tahun lalu |