mirror of
https://github.com/cberner/raptorq.git
synced 2024-06-27 09:19:02 +00:00
Skip elimination in V section of A during first phase
This is safe due to Errata 11, and speeds up performance by a couple percent
This commit is contained in:
parent
905f78cfd0
commit
6546b714ad
@ -704,7 +704,11 @@ impl<T: BinaryMatrix> IntermediateSymbolDecoder<T> {
|
||||
let row = row as usize;
|
||||
assert_eq!(&temp_value, &Octet::one());
|
||||
// Addition is equivalent to subtraction.
|
||||
#[cfg(debug_assertions)]
|
||||
self.fma_rows(temp, row, Octet::one(), 0);
|
||||
// Only apply to U section of matrix due to Errata 11
|
||||
#[cfg(not(debug_assertions))]
|
||||
self.fma_rows(temp, row, Octet::one(), self.A.width() - (self.u + (r - 1)));
|
||||
row_ops.push(RowOp::AddAssign {
|
||||
src: temp,
|
||||
dest: row,
|
||||
|
Loading…
Reference in New Issue
Block a user