michalc / stream-inflate

Uncompress Deflate and Deflate64 streams in pure Python (albeit compiled with Cython)
MIT License
11 stars 3 forks source link

perf: only allow a single iterable to be queued #10

Closed michalc closed 2 months ago

michalc commented 2 months ago

This saves ~20% of the runtime in some cases at least, at the cost of not allow multiple iterables to be queued up, which I don't think would ever be needed.