Commit History

Author SHA1 Message Date
  fatedier 0d9c4c05f1 fix typo 9 years ago
  Nigel Tao 988ce01844 Add a fast path for short emitLiteral calls. 9 years ago
  Nigel Tao 6880122951 Write the encoder's encodeBlock in asm. 9 years ago
  Nigel Tao 17e435849f Restrict the scope of the tableSize variable. 9 years ago
  Nigel Tao 0c43e98dfe Add comment that dst and src must not overlap. 9 years ago
  Nigel Tao 62bb72da9a Write the encoder's emitLiteral in asm. 9 years ago
  Nigel Tao d8211ff0ee Write the encoder's emitCopy in asm. 9 years ago
  Nigel Tao 4f2f9a13dd Write the encoder's extendMatch in asm. 9 years ago
  Nigel Tao 1f4d362d6d Clarify the emitLiteral and emitCopy preconditions. 9 years ago
  Nigel Tao 774a97396f Remove the no-longer-used maxOffset constant. 9 years ago
  Nigel Tao fa0b0e6289 Eliminate some bounds checks. 9 years ago
  Nigel Tao ef80b33e87 Change the encoder's hash table values from int32 to uint16. 10 years ago
  Nigel Tao 9bc0b5ad10 Make heuristic match skipping more aggressive. 10 years ago
  Nigel Tao cef980a12b Add more commentary to minNonLiteralBlockSize. 10 years ago
  Nigel Tao 6218a584d0 Clarify the semantics of minNonLiteralBlockSize. 10 years ago
  Nigel Tao 8939696c22 Use the same encoding algorithm as C++ snappy. 10 years ago
  Nigel Tao ebebc71721 Raise the "always encode as literal" size threshold from 4 to 14. 10 years ago
  Nigel Tao 7ede8d1b13 Eliminate some bounds checks in the encoder. 10 years ago
  Nigel Tao d1f56d2222 Encode copies of length 65, 66 or 67 as 5 bytes, not 6. 10 years ago
  Nigel Tao 624b11c0e0 Fix some comment styles. 10 years ago
  Nigel Tao bf2ded9d81 Use 64K blocks when encoding long inputs. 10 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 07070fd417 Catch overflow when incrementing src pointers. 10 years ago
  Nigel Tao 799c780093 Reduce the number of Write calls to the underlying io.Writer. 10 years ago
  Nigel Tao 0fd139378b Add NewBufferedWriter, and Flush and Close methods. 10 years ago
  Nigel Tao 4e2aa98ebb Skip multiple bytes if the last match was >= 32 bytes prior. 10 years ago
  Damian Gryski ec7b924342 C++ snappy has moved to github 10 years ago
  Nigel Tao 2a6d64140d Have Encode return []byte instead of ([]byte, error). 10 years ago