mev-rs
mev-rs copied to clipboard
feat(benches): Choose v Shuffle with Benchmark
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.