Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] Add libdeflate support for accelerated ZIP/Deflate compression/decompression #1046

Open
neteler opened this issue Oct 24, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@neteler
Copy link
Member

neteler commented Oct 24, 2020

Is your feature request related to a problem? Please describe.

Inspired by OSGeo/gdal#3068 we may want to look into using "libdeflate": https://github.com/ebiggers/libdeflate ("libdeflate is a library for fast, whole-buffer DEFLATE-based compression and decompression").

For speed comparisons in GDAL, see OSGeo/gdal#3068 (comment)

It may well be that this isn't relevant for GRASS GIS but maybe it is...

@neteler neteler added the enhancement New feature or request label Oct 24, 2020
@metzm
Copy link
Contributor

metzm commented Nov 1, 2020

The test results of GDAL are really convincing, but libdeflate is apparently not yet available on recent released Linux distros?

@neteler
Copy link
Member Author

neteler commented Nov 1, 2020

That's right and likely the reason that it became an internal library in GDAL as far as I understand.

@metzm
Copy link
Contributor

metzm commented Nov 2, 2020

That's right and likely the reason that it became an internal library in GDAL as far as I understand.

Regarding OSGeo/gdal#3068 it seems that the GDAL internal libtiff can now make use of an external libdeflate. Following GDAL, an external libdeflate could be supported by GRASS, and if available, could be used instead of the standard libzip for (de-)compression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants