RaptorQ (RFC6330) in Rust, and making it 25x faster
Original code for += operation (addition is XOR under GF(256)):
Next, I applied SIMD to several other parts of the codec, and used to disable some verification checks in release builds. In my very first foray into Rust, I’d been quite frustrated with the borrow checker, but this time I realized that it makes performance easier to reason about, in addition to memory ownership. had given a nice performance boost by storing a precomputed multiplication table, but it meant that an initialization function had to be called before the library could be used.
Source: www.cberner.com