Closed RexWzh closed 1 year ago
Base: 100.00% // Head: 99.73% // Decreases project coverage by -0.26%
:warning:
Coverage data is based on head (
5885b38
) compared to base (c55b759
). Patch coverage: 100.00% of modified lines in pull request are covered.:exclamation: Current head 5885b38 differs from pull request most recent head 5d53b70. Consider uploading reports for the commit 5d53b70 to get more accurate results
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Improve Polynomial operation
Benchmark results
For the encoding part, polynomial operation is used only in
geterrorcorrection
.So it decreases little of the efficiency comparing to the other operations.
142.909 μs (370 allocations: 32.23 KiB)
1.454 ms (1982 allocations: 291.95 KiB)
2.495 ms (3200 allocations: 562.52 KiB)
14.310 ms (17825 allocations: 3.01 MiB)
However, Efficiency of polynomial operations are important in QRDecoders.jl, since they are used frequently.
Original implement:
Here
c * Poly
,a << Int
andPoly + Poly
will create new polynomials.New one: