-
Notifications
You must be signed in to change notification settings - Fork 10
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
Accelerate recursive Mul
#153
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #153 +/- ##
==========================================
+ Coverage 86.49% 86.51% +0.02%
==========================================
Files 10 10
Lines 1740 1765 +25
==========================================
+ Hits 1505 1527 +22
- Misses 235 238 +3
☔ View full report in Codecov by Sentry. |
As we discussed, I think this should be in lazy arrays and only when of the layouts are |
I've reopened as your proposal on |
I'm using a custom |
Maybe call it something descriptive like this: """
fast_maybeview(A, kr...)
returns a view if indexing is fast, otherwise calls `A[kr...]` to efficiently materialise an array.
""""
fast_maybeview(A, kr...) = ... |
or just Edit: it doesn't work like |
I think JuliaArrays/LazyArrays.jl#268 makes this unnecessary |
This change only takes effect after JuliaArrays/LazyArrays.jl#261
Before: exponential in depth
After: linear in operations