Rename Runtime to MessageProcessor

This commit is contained in:
Greg Fitzgerald
2019-04-02 09:35:38 -06:00
parent 77bb9e7ffc
commit a0041cec97
5 changed files with 23 additions and 23 deletions

View File

@ -0,0 +1,14 @@
#![feature(test)]
extern crate test;
use solana_runtime::message_processor::*;
use test::Bencher;
#[bench]
fn bench_has_duplicates(bencher: &mut Bencher) {
bencher.iter(|| {
let data = test::black_box([1, 2, 3]);
assert!(!has_duplicates(&data));
})
}