Commit History

Author SHA1 Message Date
  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. 9 years ago
  Nigel Tao 427fb6fc07 Optimize asm for decoding copy fragments some more. 9 years ago
  Nigel Tao 4c1fc8e426 Optimize asm for decoding copy fragments. 9 years ago
  Nigel Tao 8c7c9dec59 Optimize asm for decoding literal fragments. 9 years ago
  Nigel Tao 402436317a Rewrite the core of the decoder in asm. 9 years ago
  Nigel Tao 03ee571cd3 Use more than one 'not present' byte value to catch Decode overruns. 9 years ago
  Nigel Tao 9eb9b0a693 Add a comment about forwardCopy semantics. 9 years ago
  Nigel Tao da163d3224 Note that Decode's dst and src must not overlap. 9 years ago
  Nigel Tao 12528fe033 Make TestDecodeLengthOffset test values above 16. 9 years ago
  Nigel Tao 32b392a8a6 Make a small s/uint/uint32/ decoder optimization. 9 years ago
  Nigel Tao 624b11c0e0 Fix some comment styles. 9 years ago
  Nigel Tao bb00731b7e Ensure that Decode doesn't write past the decoded length. 9 years ago
  Nigel Tao 343d0f4579 Add a snappytool command that uses the C++ library. 9 years ago
  Nigel Tao f1ae40350d Update .gitignore. 9 years ago
  Nigel Tao 6d15e7ca47 Move benchmark data files to testdata/bench. 9 years ago
  Nigel Tao a64ab7d6ec Add TestDecodeLengthOffset. 9 years ago
  Nigel Tao b95e9b379b Merge overlapping test cases in TestInvalidVarint and TestDecode. 9 years ago
  Nigel Tao 939eddc12b Add some more TestDecode cases. 9 years ago
  Nigel Tao e292361195 Catch overflow when incrementing src pointers. 9 years ago
  Nigel Tao bf2ded9d81 Use 64K blocks when encoding long inputs. 9 years ago
  Nigel Tao d1d908a252 Fix heuristic match skipping. 10 years ago
  Nigel Tao c2359a1bd0 Catch MaxEncodedLen overflow. 10 years ago
  Nigel Tao cc71ae7cc5 Change the encoder's hash table values from int to int32. 10 years ago
  Nigel Tao 51195a16b0 Add some length/offset tests where offset < length. 10 years ago
  Nigel Tao 7e6c06b922 Reject zero offsets in a length/offset pair. 10 years ago
  Nigel Tao 5979233c5d Run go fmt. 10 years ago
  Nigel Tao 6ad2a85e2f Catch overflow when incrementing dst pointer. 10 years ago
  Nigel Tao 5096ca2afa Improve Decode test coverage. 10 years ago