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

FastLZ stream compression? #4

Open
cjcliffe opened this issue Sep 18, 2015 · 1 comment
Open

FastLZ stream compression? #4

cjcliffe opened this issue Sep 18, 2015 · 1 comment

Comments

@cjcliffe
Copy link
Contributor

I took a quick look and didn't see any compression options for the network data... Would it be possible to integrate something like FastLZ as a compressed stream option?

@guruofquality
Copy link
Contributor

Actually that gives me an idea in general. Even if the device operates on 16-bit numbers, some devices only really use 12 of those bits. Even simple bit truncation and re-packing could be useful. Also fastlz looks pretty lightweight, easy to embed in a project. So yea, it seems like several compression methodologies could be supported in the Endpoint class. Which is nice in that it would all be in once place.

With the truncation and packing I can increase the samples per transfer. Although with the fastlz, we don't know much much something will compress ahead of time, so its a little trickier to make use of the full mtu-sized transfer buffer.

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

No branches or pull requests

2 participants