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 5
5
// This file is part of python-isal which is distributed under the
6
6
// PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2.
7
7
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.
10
10
11
11
// 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
16
16
// - Constants were added that are particular to igzip_lib.
17
-
17
+ // - Argument parsers were written using th CPython API rather than argument
18
+ // clinic.
18
19
19
20
#include "isal_shared.h"
20
21
Original file line number Diff line number Diff line change 5
5
// This file is part of python-isal which is distributed under the
6
6
// PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2.
7
7
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.
10
9
// Changes compared to CPython:
11
10
// - All zlib naming changed to isal_zlib
12
11
// - Including a few constants that are more specific to the ISA-L library
20
19
// - zlib.compress also has a 'wbits' argument. This change was included in
21
20
// Python 3.11. It allows for faster gzip compression by using
22
21
// isal_zlib.compress(data, wbits=31).
22
+ // - Argument parsers were written using th CPython API rather than argument
23
+ // clinic.
23
24
24
25
25
26
#include "isal_shared.h"
You can’t perform that action at this time.
0 commit comments