d4b30adffe
CrdsGossipPull::make_timeouts iterates over the stakes hashmap and creates a new hashmap which is unnecessary: https://github.com/solana-labs/solana/blob/c032dc275/gossip/src/crds_gossip_pull.rs#L517-L539 The commit instead keeps a reference to the stakes hashmap. |
||
---|---|---|
.. | ||
crds_gossip.rs | ||
gossip.rs |