537bbde22e
Based on run-time profiles, the majority time of new_pull_requests is spent building bloom filters, in hashing and bit-vec ops. This commit builds crds filters in parallel using rayon constructs. The added benchmark shows ~5x speedup (4-core machine, 8 threads). |
||
---|---|---|
.. | ||
client.rs | ||
cluster_info.rs | ||
crds_gossip.rs | ||
fork-selection.rs | ||
gossip.rs | ||
ledger_cleanup.rs | ||
rpc.rs | ||
snapshots.rs |