solana/gossip
behzad nouri f49beb0cbc
caches reed-solomon encoder/decoder instance (#27510)
ReedSolomon::new(...) initializes a matrix and a data-decode-matrix cache:
https://github.com/rust-rse/reed-solomon-erasure/blob/273ebbced/src/core.rs#L460-L466

In order to cache this computation, this commit caches the reed-solomon
encoder/decoder instance for each (data_shards, parity_shards) pair.
2022-09-25 18:09:47 +00:00
..
benches removes legacy weighted_shuffle and weighted_best methods (#24125) 2022-04-05 19:19:22 +00:00
src caches reed-solomon encoder/decoder instance (#27510) 2022-09-25 18:09:47 +00:00
tests Standardize thread names 2022-08-20 07:49:39 -07:00
.gitignore
Cargo.toml chore: bump itertools from 0.10.3 to 0.10.5 (#27962) 2022-09-21 15:28:49 -06:00
build.rs Move gossip modules into solana-gossip crate (#17352) 2021-05-26 09:15:46 -06:00