-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
consolidate ror/rol and circshift #19923
Comments
If I may, I'd like to specifically propose the following consolidation:
That to me seems like a fairly straightforward change. |
How about calling these all |
Note also that efficient implementations of these for various integer bits types would be useful. The various shenanigans we've layered on top of shift operators make it fairly hard to coax LLVM into generating actual rotate instructions. Using |
@StefanKarpinski I am new to Julia and would like to work on this. By deprecating a function, do you mean removing it from the base source, documentation and imports/exports it is involved in? Is there anything else which should be done? |
Ref #11592 (comment) No |
+5 > efficient implementations of these for various integer bits types would be useful. |
I assigned performance-optimization of in-place |
I've posted an n-dimensional |
Mostly because Julia does not create optimal code when doing cyclic bit shifts, see JuliaLang/julia#11592 and JuliaLang/julia#19923
The |
Resolved: deprecate BitArray ror and rol to be methods of circshift. |
I'm also fine with calling it |
http://stackoverflow.com/questions/41517318/rotate-non-bit-arrays-in-julia
These are basically the same functions.
The text was updated successfully, but these errors were encountered: