kiyo-masui / bitshuffle

Filter for improving compression of typed binary data.
Other
219 stars 76 forks source link

Use `nogil` for shuffle/unshuffle and compress/decompress #101

Closed t20100 closed 3 years ago

t20100 commented 3 years ago

This PR makes the 4 functions bitshuffle, bitunshuffle, compress_lz4, decompress_lz4 releasing Python's GIL while calling the underlying C function.

This would be usefull for multi-threaded usage.

Closes #100

james-s-willis commented 3 years ago

Hey @t20100 , thanks for these changes! Are you able to update your fork? I tried myself but I didn't have the permissions. Then I can merge this PR. Thanks.

james-s-willis commented 3 years ago

Merged in #103.

t20100 commented 3 years ago

Sorry, I was offline for a while, thanks for having integrated it in bitshuffle!