-
Notifications
You must be signed in to change notification settings - Fork 322
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
flate: remove compressor.hash field #589
Comments
I haven’t quite been able to find the CL mentioned in the commit message (I’m writing this on my phone) but I suspect https://github.com/golang/go/commits/master/src/compress/flate would help. |
@Jacalz I doubt it will make much of a difference, but it is also cannot hurt. |
Remove stateful hash and need for AND operation. (benchmark pending) Fixes #589
It doesn't. Even with removing a now un-needed AND instruction. If anything it seems to make it a tiny bit slower, though that could just be noise. |
It looks like golang/go@c25c371 landed after the commit mentioned above. I don't know if it is applicable here and if it makes a difference. |
@Jacalz That is totally BS. The ONLY relevant difference in the ENCODER is
The rest is DECODER differences, completely unaffected by this change. |
Yeah, I suspected as much. All those upstream commits as of late seem to make almost no changes and report massive speedups. Something is wonky. Sorry for the unnecessary noice. |
Yeah, not bothering with this one. Maybe next time I'm around that code, if it is there. |
Have you reached any conclusion on the open PR? |
@Jacalz Ah, yeah... Thought I had merged it. Putting it in. It will probably sometimes be faster (since it has more time to finish the calculation) and sometimes not (pipeline stalls while calculating). |
Remove stateful hash and need for AND operation. Benchmarks show no change. Fixes #589
I found the commit golang/go@949b3e9 recently landing for Go 1.19. From what I can tell from the code here in this project, most of the code that is removed in that commit is already present here. Would it be possible to apply something similar in this project?
The text was updated successfully, but these errors were encountered: