Revert "Rename solana-runtime to sealevel (#6239)" (#6247)

This reverts commit 2e921437cd.
This commit is contained in:
Greg Fitzgerald
2019-10-04 19:33:29 -06:00
committed by GitHub
parent 5ef012b2c1
commit fb39bd45d7
38 changed files with 106 additions and 135 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));
})
}