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
See https://docs.julialang.org/en/v1/manual/performance-tips/#Avoid-fields-with-abstract-type
This introduces unnecessary runtime overheads:
using BenchmarkTools, OpenCV A_abs = rand(5,4,3); A = OpenCV.Mat(A_abs); @btime size($A); # 15.539 ns (1 allocation: 32 bytes) @btime size($A_abs); # 1.430 ns (0 allocations: 0 bytes)
Looks like Mat and Vec should be updated accordingly. There might be some other cases, though.
Mat
Vec
The text was updated successfully, but these errors were encountered:
OpenCV.Mat
No branches or pull requests
See https://docs.julialang.org/en/v1/manual/performance-tips/#Avoid-fields-with-abstract-type
This introduces unnecessary runtime overheads:
Looks like
Mat
andVec
should be updated accordingly. There might be some other cases, though.The text was updated successfully, but these errors were encountered: