File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 55// This file is part of python-isal which is distributed under the
66// PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2.
77
8- // This file was modified from Cpython Modules/clinic/zlibmodule.c.h, Modules/clinic/_bz2module.c.h,
9- // and Modules_bz2module.c files from the 3.9 branch.
8+ // This file was modified from Cpython Modules/bz2module.c file from the 3.9
9+ // branch.
1010
1111// Changes compared to CPython:
12- // - The BZ2Decompressor has been used as a basis for IgzipDecompressor. Functionality is almost
13- // the same. IgzipDecompressor does have a more elaborate __init__ to set settings. It also implements
14- // decompress_buf more akin to how decompression is implemented in isal_zlib_impl.h
15- // - The argparsing code was adopted to support the functions from igzip_lib module.
12+ // - The BZ2Decompressor has been used as a basis for IgzipDecompressor.
13+ // Functionality is almost the same. IgzipDecompressor does have a more
14+ // elaborate __init__ to set settings. It also implements decompress_buf more
15+ // akin to how decompression is implemented in isal_shared.h
1616// - Constants were added that are particular to igzip_lib.
17-
17+ // - Argument parsers were written using th CPython API rather than argument
18+ // clinic.
1819
1920#include "isal_shared.h"
2021
Original file line number Diff line number Diff line change 55// This file is part of python-isal which is distributed under the
66// PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2.
77
8- // This file was modified from Cpython's Modules/clinic/zlibmodule.c.h and
9- // Modules/zlibmodule.c files.
8+ // This file was modified from Cpython's Modules/zlibmodule.c file.
109// Changes compared to CPython:
1110// - All zlib naming changed to isal_zlib
1211// - Including a few constants that are more specific to the ISA-L library
2019// - zlib.compress also has a 'wbits' argument. This change was included in
2120// Python 3.11. It allows for faster gzip compression by using
2221// isal_zlib.compress(data, wbits=31).
22+ // - Argument parsers were written using th CPython API rather than argument
23+ // clinic.
2324
2425
2526#include "isal_shared.h"
You can’t perform that action at this time.
0 commit comments