Commit Verlauf

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