Closed RexWzh closed 1 year ago
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:
Coverage data is based on head (
2c70b52
) compared to base (0d8f5bc
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Main changes:
gfinv
inverse of a matrix overGF(256)
gauss_elimination
for solving linear equationsfillblank
, use Gauss elimination to fill the erasuresmsglen, necwords
fillblank
fillblankbyFA
1.555 ms (2661 allocations: 3.11 MiB)
441.152 μs (1611 allocations: 913.47 KiB)
1.163 ms (2136 allocations: 1.87 MiB)
277.765 μs (509 allocations: 100.38 KiB)
441.152 μs (1611 allocations: 913.47 KiB)
564.711 μs (809 allocations: 220.78 KiB)
A rough estimation:
msglen
and N =necwords
@johnnychen94 I just add some tools for
GF(256)
insrc/equation.jl
, after some checking, I think it's ready to merge. In general, Forney algorithm is faster than Gauss elimination unlessM << N
. However,blankbyFA
can cause dependency warning as mentioned in https://github.com/JuliaImages/QRCoders.jl/issues/42. So the functionblankbyFA
is used in test only.