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

Extract compression streams #342

Closed
thekid opened this issue Feb 26, 2022 · 1 comment
Closed

Extract compression streams #342

thekid opened this issue Feb 26, 2022 · 1 comment

Comments

@thekid
Copy link
Member

thekid commented Feb 26, 2022

Scope of Change

This RFC suggests extracting compressing and decompressing stream implementations into a dedicated library.

Rationale

Faster evolution of their API, e.g. adding more compression algorithms while not having to base XP core on more exotic libraries

Functionality

The following classes will be removed from the io.streams packge.

public class io.streams.Bz2CompressingOutputStream
public class io.streams.Bz2DecompressingInputStream
public class io.streams.GzCompressingOutputStream
public class io.streams.GzDecompressingInputStream
public class io.streams.DeflatingOutputStream
public class io.streams.InflatingInputStream

Security considerations

None

Speed impact

Reduced size of XP core

Dependencies

Code must migrate to the new library, which can be done at any time.

Related documents

https://github.com/xp-forge/compression

@thekid
Copy link
Member Author

thekid commented Mar 23, 2024

@thekid thekid closed this as completed Mar 23, 2024
thekid added a commit to xp-framework/zip that referenced this issue Mar 24, 2024
thekid added a commit to xp-forge/frontend that referenced this issue Mar 24, 2024
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