Commit History

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