Commit Graph

  • e922d17995 fix repo master v1.0.4 re 2022-12-15 21:10:49 +0300
  • 2848168f55 Reader.Reset: recover from errors. Andy Balholm 2022-09-23 19:39:05 -0700
  • 786ec621f6 Reuse ringbuffer in Reader. Andy Balholm 2022-05-18 12:05:34 -0700
  • f001d275a3
    Fix Reader.Reset() docs Matt Dainty 2022-05-12 18:31:16 +0100
  • 34a5640cc1 Add an example for Writer.Reset. Andy Balholm 2022-05-03 10:55:39 -0700
  • 1d750214c2 Optimize log2FloorNonZero with math/bits. Andy Balholm 2021-09-22 11:21:01 -0700
  • ec682fbe0a Rest set writer.err=nil zuiwuchang 2021-08-25 10:29:47 +0800
  • cf8bc3b664 More staticcheck advice. Andy Balholm 2021-08-18 18:04:51 -0700
  • a61eb82231 Follow some advice from staticcheck. Andy Balholm 2021-08-12 12:37:09 -0700
  • e073f0d4ed Merge branch 'issue22' Andy Balholm 2021-07-15 12:01:52 -0700
  • 177b8acd6c Add test for issue 22. Andy Balholm 2021-07-15 12:01:31 -0700
  • 5376c15dde Retract v1.0.1 v1.0.3 Andy Balholm 2021-05-26 15:10:20 -0700
  • 94609f9606 Revert "Faster bit writing." v1.0.2 Andy Balholm 2021-04-27 10:48:28 -0700
  • 47c0dbab12 Simplify control flow in Reader.Reset. Andy Balholm 2021-03-01 09:45:40 -0800
  • 87d8f4575c
    Reduce allocations of buffer for reused readers Mike Faraponov 2021-03-01 19:42:42 +0200
  • 729edfbcfe Add documentation link. v1.0.1 Andy Balholm 2020-08-04 09:53:43 -0700
  • 1b06c5640c Check size of split.lengths instead of a nil check oguzyildiz1991 2020-07-16 22:21:39 -0400
  • c3da72aa01 Faster bit writing. Andy Balholm 2020-06-18 18:58:27 -0700
  • ef7a42160d Use a 64-bit store in writeBits. Andy Balholm 2020-06-06 14:13:21 -0700
  • 097c1c5bc9 Use 32-bit loads in isMatch1 and isMatch5. Andy Balholm 2020-05-15 11:17:23 -0700
  • 8f8b18645c Read multiple bytes in findMatchLengthWithLimit Andy Balholm 2020-05-15 10:43:19 -0700
  • a01a7b12c9 Reuse buffers and objects using sync.Pool Erik Dubbelboer 2020-05-09 16:27:05 +0200
  • e2c5f2109f Use len and cap instead of num_commands_ and cmd_alloc_size_. Andy Balholm 2020-05-08 16:48:16 -0700
  • 4b2775ea5e Fix some ugly compound literals. Andy Balholm 2020-05-08 15:14:47 -0700
  • b2497e8d72 Revert "Use sort.Sort to sort Huffman trees." Andy Balholm 2020-05-08 13:52:56 -0700
  • 6b5963335e Use sort.Sort to sort Huffman trees. Andy Balholm 2020-05-07 17:51:21 -0700
  • 7c7a5a10ef Push output directly to dst instead of buffering. Andy Balholm 2020-05-07 17:27:37 -0700
  • 625cbb6f92 Replace storage_size_ with len(storage). Andy Balholm 2020-05-07 15:40:58 -0700
  • f41712f811 Remove unnecessary parameters from encodeData. Andy Balholm 2020-05-06 17:20:27 -0700
  • 511ca97d30 Benchmark all compression levels. Andy Balholm 2020-05-06 16:08:01 -0700
  • 2c14228f02 Preserve w.commands across Reset. Andy Balholm 2020-05-05 17:36:16 -0700
  • cb9be97eb7 Reuse more memory when a Writer is Reset. Andy Balholm 2020-05-05 17:18:33 -0700
  • 00ca370ce2 Put full license in bench_test.go Andy Balholm 2020-05-05 16:14:45 -0700
  • 3c3658f2fb A couple of tweaks Andy Balholm 2020-05-04 16:09:27 -0700
  • ac459dee64 Fix excessive allocations if sortHuffmanTreeItems. Andy Balholm 2020-05-04 15:04:20 -0700
  • 9fc263f565 Add some benchmarks. Andy Balholm 2020-05-04 13:35:04 -0700
  • b60f0d972e Copy negotiateContentEncoding. v1.0.0 Andy Balholm 2019-08-21 08:13:43 -0700
  • ed0fd64940 Fix int overflow in test on 32-bit. Andy Balholm 2019-07-25 08:50:51 -0700
  • 71eb68cc46 Preserve compression settings when Writer is reset. Andy Balholm 2019-07-04 08:13:24 -0700
  • 5f990b63d2 Add README. Andy Balholm 2019-06-21 08:47:22 -0700
  • 5c318f9037 Add HTTPCompressor for HTTP Content-Encoding negotiation. Andy Balholm 2019-04-30 14:53:06 -0700
  • f00818cf36 Fix tests broken by API change. Andy Balholm 2019-04-25 09:03:32 -0700
  • a097b55267
    Merge pull request #4 from paolobarbolini/behave-like-compress Andy Balholm 2019-04-25 09:01:22 -0700
  • 7ad6b2e5b1 Make brotli behave like official compress/ packages Paolo Barbolini 2019-04-25 17:25:59 +0200
  • 580fdc1cde Removed unused error Andy Balholm 2019-04-25 08:21:22 -0700
  • 1b2ddcf9b7
    Merge pull request #2 from shanemhansen/shane-change-struct-scope Andy Balholm 2019-03-29 18:17:44 -0400
  • f6e5ca9707 gofmt Shane Hansen 2019-03-29 15:15:07 -0700
  • 94370e0b46 Lift structs to higher scope Shane Hansen 2019-03-29 15:12:32 -0700
  • 36f6c9721d Fix warnings from go vet. Andy Balholm 2019-03-26 06:05:46 -0400
  • 45f5d9b05a Fix negative slice indexes. Andy Balholm 2019-03-23 11:17:03 -0700
  • 08371dc992 Use const for constants. Andy Balholm 2019-03-21 16:15:39 -0700
  • 52165d4974 Clean up duplicate and misplaced comments. Andy Balholm 2019-03-21 15:34:30 -0700
  • 55e85f3f75 Finish un-exporting symbols. Andy Balholm 2019-03-15 18:00:20 -0700
  • 4e6528a75b Remove duplicate kBlockLengthPrefixCode constants. Andy Balholm 2019-03-15 17:27:29 -0700
  • 7b66c0a2f2 Un-export some more symbols Andy Balholm 2019-03-15 17:24:40 -0700
  • 906c822ef2 Un-export more symbols Andy Balholm 2019-03-15 12:05:31 -0700
  • 5001b3d0d7 Start un-exporting names. Andy Balholm 2019-03-09 17:11:32 -0800
  • 1ce1c68433 Simplify encoder interface. Andy Balholm 2019-03-09 16:06:37 -0800
  • d6c7de28d1 Simplify encoder interface to match what is used by Write. Andy Balholm 2019-03-09 15:57:44 -0800
  • 99596c61a1 Consolidate composite hashes. Andy Balholm 2019-03-09 14:01:03 -0800
  • ba67d8c1de Consolidate rolling hashes. Andy Balholm 2019-03-09 13:54:31 -0800
  • 42dac55258 Consolidate "forgetful chain" hashes. Andy Balholm 2019-03-09 13:34:19 -0800
  • c4f1bfa34f Start reducing duplication in hasher code. Andy Balholm 2019-03-09 13:01:56 -0800
  • 74ae18c776 Use some Go library functions. Andy Balholm 2019-03-08 19:45:16 -0800
  • 7ed41e6356 Change more hasher functions to methods. Andy Balholm 2019-03-08 16:43:15 -0800
  • bbbdedf380 Start converting hasher functions to methods. Andy Balholm 2019-03-08 15:10:41 -0800
  • 6a14da654a Embed HasherCommon in each hasher type. Andy Balholm 2019-03-08 14:11:00 -0800
  • 7aac2143a1 Add LICENSE. Andy Balholm 2019-03-06 17:11:20 -0800
  • 0da14edee1 Make BrotliDecoderState into a Reader. Andy Balholm 2019-03-06 17:08:24 -0800
  • f036cd04c1 Make BrotliEncoderState into a Writer. Andy Balholm 2019-03-06 16:16:48 -0800
  • 69a32ecc1a Initial commit. Andy Balholm 2019-03-06 14:55:38 -0800