Closed rainyl closed 4 months ago
Attention: Patch coverage is 81.44330%
with 18 lines
in your changes are missing coverage. Please review.
Project coverage is 88.76%. Comparing base (
66fa454
) to head (f24dab0
).
Files | Patch % | Lines |
---|---|---|
lib/src/core/mat.dart | 81.44% | 18 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Releated:
53
44
simple perf test:
Maybe faster with Native Assets:
at: Mat.atU8, Mat.atI8, Mat.atU16, Mat.atI16, Mat.atI32, Mat.atF32, Mat.atF64
set: Mat.setU8, Mat.setI8, Mat.setU16, Mat.setI16, Mat.setI32, Mat.setF32, Mat.setF64
Mat.set support native types, e.g., Mat.set()
In previous version, determine the Mat type is very expensive, but considering the mat type may change after creation, so it has to be get from native pointer, which costs lots of time, so for performance sensitive occasions, use atU8/setU8-like API.