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

Immutable Streams #13

Open
boisgera opened this issue Feb 19, 2018 · 0 comments
Open

Immutable Streams #13

boisgera opened this issue Feb 19, 2018 · 0 comments

Comments

@boisgera
Copy link
Owner

boisgera commented Feb 19, 2018

Streams without read, write, save and restore.
Study the use cases (I am think of streams as keys in dict,
but is it usable without even a read?).
Maybe via a stream.copy(freeze=true) API? And/or a new constructor?
Name of the new class? Would be in the hierarchy of the "normal" stream
right? Unless they have a common base class that actually implements
100% of the ImmutableBitStream (find a better name) APi.
Now you would still have copy() to create a mutable version from
an immutable one.

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

No branches or pull requests

1 participant