Skip to content

Commit dde6454

Browse files
committed
Update changelog with C rewrite
1 parent a3a30d7 commit dde6454

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ Changelog
99
1010
version 0.4.0-dev
1111
-----------------
12+
+ The internal ``gzip_ng._GzipReader`` has been rewritten in C. As a result the
13+
overhead of decompressing files has significantly been reduced.
14+
+ The ``gzip_ng._GzipReader`` in C is now used in ``gzip_ng.decompress``. The
15+
``_GzipReader`` also can read from objects that support the buffer protocol.
16+
This has reduced overhead significantly.
1217
+ Fix some unclosed buffer errors in the gzip_ng CLI.
1318

1419
version 0.3.0

src/zlib_ng/zlib_ngmodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2007,6 +2007,7 @@ static void GzipReader_dealloc(GzipReader *self)
20072007
}
20082008
Py_XDECREF(self->fp);
20092009
PyThread_free_lock(self->lock);
2010+
zng_inflateEnd(&self->zst);
20102011
Py_TYPE(self)->tp_free(self);
20112012
}
20122013

0 commit comments

Comments
 (0)