Commit History

Author SHA1 Message Date
  Nigel Tao 7dddae14f7 Fix redeclaration of "end" in the asm. 10 years ago
  Nigel Tao 2dbf365277 Inline extendMatch for the noasm encoder. 10 years ago
  Nigel Tao 988ce01844 Add a fast path for short emitLiteral calls. 10 years ago
  Nigel Tao 45da9d9c0f Zero out only that part of the hash table in use. 10 years ago
  Nigel Tao 6880122951 Write the encoder's encodeBlock in asm. 10 years ago
  Nigel Tao 17e435849f Restrict the scope of the tableSize variable. 10 years ago
  Nigel Tao 0c43e98dfe Add comment that dst and src must not overlap. 10 years ago
  Nigel Tao 62bb72da9a Write the encoder's emitLiteral in asm. 10 years ago
  Nigel Tao d8211ff0ee Write the encoder's emitCopy in asm. 10 years ago
  Nigel Tao 4f2f9a13dd Write the encoder's extendMatch in asm. 10 years ago
  Nigel Tao 1f4d362d6d Clarify the emitLiteral and emitCopy preconditions. 10 years ago
  Nigel Tao bd94318f58 Add some more encoder tests. 10 years ago
  Nigel Tao 774a97396f Remove the no-longer-used maxOffset constant. 10 years ago
  Nigel Tao 3588d1dd84 Add appengine and noasm build tags. 10 years ago
  Nigel Tao fa0b0e6289 Eliminate some bounds checks. 10 years ago
  Nigel Tao ef80b33e87 Change the encoder's hash table values from int32 to uint16. 10 years ago
  Nigel Tao 70f093abd7 Use a more compressible golden input for the tests. 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 a2aa89c177 Add a TestSameEncodingAsCppShortCopies test. 10 years ago
  Nigel Tao 857ad66e00 Add gc build tag for the asm code. 10 years ago
  Nigel Tao 3675542200 Don't allow EOF in the middle of a framing chunk. 10 years ago
  Nigel Tao 0e8b256be2 Fix a too-long uncompressed frame chunk causing a panic. 10 years ago
  Nigel Tao aca045a2df Clarify when goEncoderShouldMatchCppEncoder. 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 5f1c01d9f6 Optimize a 16-byte load and store. 10 years ago