python/_brotli.c


Log

Author Commit Date CI Message
Robert Obryk eb3a31e2 2024-09-18T15:25:06 add max_length to Python streaming decompression
Robert Obryk 28ce91ca 2024-09-17T16:50:39 add size limit to buffer
Brotli d019271c 2025-01-06T03:05:20 Copybara import of the project: -- f1bdfaa803e62ce3608e0226c98da1cf20abebdc by Robert Obryk <robryk@google.com>: add size limit to buffer -- ef8922cee72a1c0b0c35ed109ae9d2d637177bfe by Robert Obryk <robryk@google.com>: add max_length to Python streaming decompression PiperOrigin-RevId: 712463460
Robert Obryk ef8922ce 2024-09-18T15:25:06 add max_length to Python streaming decompression
Robert Obryk f1bdfaa8 2024-09-17T16:50:39 add size limit to buffer
Ma Lin c8df4b30 2022-12-29T21:07:16 Python: use a new output buffer code (#902) Currently, the output buffer is a std::vector<uint8_t>. When the buffer grows, resizing will cause unnecessary memcpy(). This change uses a list of bytes object to represent output buffer, can avoid the extra overhead of resizing. In addition, C++ code can be removed, it's a pure C extension.