-
Notifications
You must be signed in to change notification settings - Fork 312
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
klauspost/compress is 21 megabytes #220
Comments
Seeing how the |
stdlib compress/flate is significantly slower. See klauspost/compress#216 (comment) |
And allocates much more memory. |
I think 2x slower isn't that big of a deal. If anything, the library can also allow an interface to give developers choices when it comes to performance-intensive tasks. |
Alternatively, I think @klauspost should really split up his repositories. Seeing how the largest file seems to be from
|
The question is why is he pushing test data to the repo. Anyway vendoring only needed code sounds good. |
No. If 21 megs is a problem for you, do what you want. |
Everyone pushes tests to repos. Like @klauspost said, I'm not entirely sure this is a problem worth solving. |
I think the default should use stdlib and then I can maintain a separate branch if there's enough interest until/if stateless compression ends up in the stdlib. It's always nice to have zero dependencies as well. |
Some user's reported an issue with the dependency being large diamondburned/arikawa#11
I confirmed, the dependency is 21 megabytes.
I think the best approach would be to vendor only the code we need from klauspost/compress.
cc @klauspost
The text was updated successfully, but these errors were encountered: