Commit History

Autor SHA1 Mensaxe Data
  Nigel Tao aca045a2df Clarify when goEncoderShouldMatchCppEncoder. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao 8939696c22 Use the same encoding algorithm as C++ snappy. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao ebebc71721 Raise the "always encode as literal" size threshold from 4 to 14. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao 7ede8d1b13 Eliminate some bounds checks in the encoder. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao d1f56d2222 Encode copies of length 65, 66 or 67 as 5 bytes, not 6. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao 5f1c01d9f6 Optimize a 16-byte load and store. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao 427fb6fc07 Optimize asm for decoding copy fragments some more. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao 4c1fc8e426 Optimize asm for decoding copy fragments. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao 8c7c9dec59 Optimize asm for decoding literal fragments. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao 402436317a Rewrite the core of the decoder in asm. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao 03ee571cd3 Use more than one 'not present' byte value to catch Decode overruns. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao 9eb9b0a693 Add a comment about forwardCopy semantics. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao da163d3224 Note that Decode's dst and src must not overlap. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao 12528fe033 Make TestDecodeLengthOffset test values above 16. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao 32b392a8a6 Make a small s/uint/uint32/ decoder optimization. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao 624b11c0e0 Fix some comment styles. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao bb00731b7e Ensure that Decode doesn't write past the decoded length. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao 343d0f4579 Add a snappytool command that uses the C++ library. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao f1ae40350d Update .gitignore. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao 6d15e7ca47 Move benchmark data files to testdata/bench. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao a64ab7d6ec Add TestDecodeLengthOffset. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao b95e9b379b Merge overlapping test cases in TestInvalidVarint and TestDecode. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao 939eddc12b Add some more TestDecode cases. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao e292361195 Catch overflow when incrementing src pointers. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao bf2ded9d81 Use 64K blocks when encoding long inputs. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao d1d908a252 Fix heuristic match skipping. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao c2359a1bd0 Catch MaxEncodedLen overflow. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao cc71ae7cc5 Change the encoder's hash table values from int to int32. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao 51195a16b0 Add some length/offset tests where offset < length. %!s(int64=9) %!d(string=hai) anos
  Nigel Tao 7e6c06b922 Reject zero offsets in a length/offset pair. %!s(int64=9) %!d(string=hai) anos