We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
julia> A = reshape(1:3004*3002, 3004, 3002); julia> sA = sub(A, 1:3003, 1:3002); julia> @time sum(A) elapsed time: 0.022972412 seconds (121728 bytes allocated) 40662238653036 julia> @time sum(A) elapsed time: 0.027780444 seconds (64 bytes allocated) 40662238653036 julia> @time sum(sA) elapsed time: 0.599137738 seconds (144450680 bytes allocated) 40648698114024 julia> @time sum(sA) elapsed time: 0.58232922 seconds (144232032 bytes allocated) 40648698114024
The specialized implementation at subarray.jl: 176 would seem to suggest that it's not necessary.
The text was updated successfully, but these errors were encountered:
caabd83
No branches or pull requests
The specialized implementation at subarray.jl: 176 would seem to suggest that it's not necessary.
The text was updated successfully, but these errors were encountered: