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

How does lz-string compare to platform CompressionStream? #271

Open
Fuzzyma opened this issue Nov 19, 2024 · 0 comments
Open

How does lz-string compare to platform CompressionStream? #271

Fuzzyma opened this issue Nov 19, 2024 · 0 comments

Comments

@Fuzzyma
Copy link

Fuzzyma commented Nov 19, 2024

I am wondering if the functionality of lz-string can be nowadays mirrored by a CompressionStream.

Can anyone weight in on that topic? I naively compressed a bit of html using gzip and converted it to a format I can use in the url (since thats what i need) and the compression ratio of lz-string was about 1.5 while my naive version had 2.26.

Totally possible that I did something wrong but I wanna know if you people know of any downsides in regard of CompressionStream or any upsides with lz-string.

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

1 participant