Skip to content

FastLZ stream compression? #4

Open

Description

@cjcliffe

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?

Activity

  1. guruofquality commented on Sep 20, 2015

    @guruofquality
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions