0ee416139f47e656f936e724dee1a332aa0e393d |
|
12-Dec-2016 |
Eugene Kliuchnikov <eustas@google.com> |
Update python brotli wrapper (#479) * Update python brotli wrapper * release GIL on CPU intensive blocks, fixes #476 * use BrotliDecoderTakeOutput (less memory, less memcpy) * Python: Convert bro.py tests to unittest style (#478) * Create unittest-style tests for `bro.py` decompression and compression * Delete old tests for `bro.py` * Update test method generation to properly create a Cartesian product of iterables using `itertools.product` * Update python brotli wrapper * release GIL on CPU intensive blocks, fixes #476 * use BrotliDecoderTakeOutput (less memory, less memcpy)
/external/brotli/python/_brotli.cc
|
5632315d3568b4bba3966a69c195adeabaf2fc0b |
|
24-Oct-2016 |
Alex Nicksay <nicksay@gmail.com> |
Python: Support streamed compression with the Compressor object (#448) This adds `flush` and `finish` methods to the `Compressor` object in the extension module, renames the `compress` method to `process`, and updates that method to only process data. Now, one or more `process` calls followed by a `finish` call will be equivalent to a module-level `compress` call. Note: To maximize the compression efficiency (and match underlying Brotli behavior, the `Compressor` object `process` method does not guarantee all input is immediately written to output. To ensure immediate output, call `flush` to manually flush the compression buffer. Extraneous flushing can increase the size, but may be required when processing streaming data. Progress on #191
/external/brotli/python/_brotli.cc
|
595a5246b4b2ab8ddb8618bb3f11080898d9e180 |
|
29-Sep-2016 |
Alex Nicksay <nicksay@google.com> |
Python: Create an extension Compressor object - Create a `Compressor` object in the extension module - Move the `compress` method into the native module and use the new `Compressor` object to do the compression Note: This does not change the module-level Python API. The `Compressor` object will not be publicly exposed until its methods have stabilized.
/external/brotli/python/_brotli.cc
|
f7b5b3dc2c69f2a71120e499949f9435ccdf4126 |
|
28-Sep-2016 |
Alex Nicksay <nicksay@google.com> |
Python: Create native brotli module and move extension to _brotli
/external/brotli/python/_brotli.cc
|