-
Notifications
You must be signed in to change notification settings - Fork 7
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
Slice exported from Base #34
Comments
If I can make a suggestion, it would be nice if:
|
Thanks for the suggestion! I'm not sure about 1, I think that would be up to base. I haven't checked whether |
No great suggestions, but if JuliaLang/Compat.jl#663 is ever merged then Compat will provide the new Slices type. |
I think it's nearly identical, but @simonbyrne would know better than me. |
@bramtayl I've checked, and the only differences are:
Making old JuliennedArrays code compatible with 1.9 would just require adding a |
Ok. Sure, PR's welcome. If you want to submit a PR to base for align, feel free, but I haven't had to much luck with similar PR's. |
The eager |
That makes some sense, but what's the problem with having both? Sometimes copying is less efficient than returning a lazy view. Julia provides lazy versions of some other functions, like |
Looks like there's not much interest in a PR to base; in that case, I think the package should be able to just implement a |
As of 1.9, so figure out what what to do about that...
The text was updated successfully, but these errors were encountered: