-
Notifications
You must be signed in to change notification settings - Fork 149
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
MArray is slower than Array in reduction #540
Comments
This is still the case on the latest julia. Ultimately it may be due to keyword functions (in this case |
Yeah, in some of the Base reduce/mapreduce code, |
Unfortunately, passing keyword arguments around is relatively slow in Julia (it requires an
to avoid passing keyword arguments. I can make a patch if you want. |
Yes please! Did you read the code @tkoolen pointed to above? It seemed to me that might be a way to avoid some of the cost. |
Yes, I'm trying to invent a less tedious solution. |
Fixed in #659 (thanks to @mateuszbaran :-) ) |
MWE:
The text was updated successfully, but these errors were encountered: