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

Generator-based Streaming Encoder and Decoder interfaces #10

Open
saxbophone opened this issue Jul 23, 2016 · 2 comments
Open

Generator-based Streaming Encoder and Decoder interfaces #10

saxbophone opened this issue Jul 23, 2016 · 2 comments
Assignees
Labels
blocked This task cannot be started until a prerequisite has been completed enhancement

Comments

@saxbophone
Copy link
Owner

These would most likely replace the core encoder and decoder functions and would function in some way that would allow partial output of an encoded or decoded stream once it has received enough input.

E.g. say an encoding ratio of 4 to 5 symbols is being used, then the encoding generator would output two symbols after receiving two input symbols, as two symbols' input from a ratio of 4 is enough to calculate the values of two symbols' output for a ratio of 5.

This would have a potential speed efficiency improvement for encoding and decoding streams of data, and the other more traditional encode() and decode() functions could piggy-back on its functionality and just return the result as a list when done.

@saxbophone
Copy link
Owner Author

I don't think what I was originally proposing in this issue is possible (that is, stream encoding symbol-by-symbol), however it certainly is possible on a chunk-by-chunk basis, so I am going to change this issue to implement this instead.

@saxbophone saxbophone self-assigned this Oct 18, 2018
@saxbophone saxbophone added the blocked This task cannot be started until a prerequisite has been completed label Nov 1, 2018
@saxbophone
Copy link
Owner Author

Blocked on #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This task cannot be started until a prerequisite has been completed enhancement
Projects
None yet
Development

No branches or pull requests

1 participant