-
Notifications
You must be signed in to change notification settings - Fork 604
Consider removing unnecessary bitwise and operations #449
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
Comments
We should investigate using the code from this project with the appropriate fixes and accreditation. |
I actually have an implementation that's easily usable for a proper cross-platform fix, that I used in the pipelines implementation here: #706 It utilizes functionality from System.Memory (which has targets for the needed TFMs) and would be compatible with .NET Core moving forward. |
@stebet what do you think about adding those changes for the |
Should be doable. That library will also enable memory pooling and is well compatible with .NET Framework targets (used in StackExchange.Redis and Google.Protobuf for example). Would also make sense to then split the big Pipeline PR into separate PRs, one for memory pooling and another for the actual pipeline integration. |
Smaller PRs are great... there's a chance I can understand them 😄 |
These bitwise and operations are redundant:
The text was updated successfully, but these errors were encountered: