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

Provide deflate native module? #1

Open
jonnor opened this issue Oct 12, 2024 · 0 comments
Open

Provide deflate native module? #1

jonnor opened this issue Oct 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jonnor
Copy link
Owner

jonnor commented Oct 12, 2024

For decompression support, this library relies on the deflate module being available. And for compression, the deflate library must additionally have been built with compression enabled - which is not the default on even the bigger port configurations like ESP32 or Unix.

However, it seems that there is a native module available for deflate - at https://github.com/micropython/micropython/blob/master/examples/natmod/deflate/deflate.c
So it would seem to be possible to build that into .mpy modules that can be installed at runtime, without having to rebuild and reflash a device. Ideally, this kind of downloadable module would be provided by upstream MicroPython. But as a workaround, it could be relevant to provide it here.

@jonnor jonnor added the enhancement New feature or request label Oct 12, 2024
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

1 participant