python-isal icon indicating copy to clipboard operation
python-isal copied to clipboard

Add functions to (de)compress data blocks in one go

Open rhpvorderman opened this issue 11 months ago • 0 comments

These functions would

  • Be as simple as possible
  • Create a buffer with pre-determined size given by the user.
  • Return OverflowError when the buffer is full.
  • Escape the GIL as much as possible.
  • Use isal_stateless functions.

The functions can be used by downstream applications for bgzip (de)compression in a threaded manner. See #219 .

This can be implemented in igzip_lib and use the igzip function names.

rhpvorderman avatar Jan 10 '25 08:01 rhpvorderman