You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 9, 2020. It is now read-only.
I'll be happy to contribute as soon as I get some spare time. Lots of things are happening to me right now. I'll check if it's still an issue on January.
This is fixed in julia 0.4 because of JuliaLang/julia#10314. I'll close the issue, but note that on the 0.3 version of this package it would still require a pull request to implement efficient reduce. If you decide to do this, I can create a 0.3 branch; as it is, further development of this package on 0.3 is frozen.
Have a look:
a=randn(5000000);
@time(reduce((x,y) -> x,a))
elapsed time: 0.250185444 seconds (60000812 bytes allocated, 51.42% gc time)
0.5564212271634134
@time(reduce(@anon((x,y) -> x),a))
elapsed time: 0.815615445 seconds (120012708 bytes allocated, 35.23% gc time)
0.5564212271634134
The text was updated successfully, but these errors were encountered: