Skip to content
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

Julia 1.7 performance regression on rawview #174

Open
johnnychen94 opened this issue Dec 1, 2021 · 0 comments · May be fixed by #175
Open

Julia 1.7 performance regression on rawview #174

johnnychen94 opened this issue Dec 1, 2021 · 0 comments · May be fixed by #175

Comments

@johnnychen94
Copy link
Member

Looks like it's either MappedArrays or Julia Base issue

using ImageCore
dst = rawview(channelview(rand(RGB{N0f8}, 64, 64)));
src = copy(dst);
@btime copyto!($dst, $src);
# 1.7.0: 1.209 ms (49152 allocations: 1.69 MiB)
# 1.6.5: 55.287 μs (0 allocations: 0 bytes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant