Open refcell opened 10 months ago
Description
Optimizes mev-boost-rs bid selection to use the O(1) rand::seq::SliceRandom::choose() over the O(n) rand::seq::SliceRandom::shuffle().
mev-boost-rs
rand::seq::SliceRandom::choose()
rand::seq::SliceRandom::shuffle()
Benchmark included with improved time shown below.
Description
Optimizes
mev-boost-rs
bid selection to use the O(1)rand::seq::SliceRandom::choose()
over the O(n)rand::seq::SliceRandom::shuffle()
.Benchmark included with improved time shown below.