Remove serialization of future AppendVecs and serialize AccountStorage correctly (#5510)

This commit is contained in:
carllin
2019-08-13 16:05:37 -07:00
committed by GitHub
parent 1b6a200d6f
commit 58d4e32c97
5 changed files with 89 additions and 44 deletions

View File

@ -62,7 +62,7 @@ fn test_accounts_squash(bencher: &mut Bencher) {
fn test_accounts_hash_internal_state(bencher: &mut Bencher) {
let accounts = Accounts::new(Some("bench_accounts_hash_internal".to_string()));
let mut pubkeys: Vec<Pubkey> = vec![];
create_test_accounts(&accounts, &mut pubkeys, 60000);
create_test_accounts(&accounts, &mut pubkeys, 60000, 0);
bencher.iter(|| {
accounts.hash_internal_state(0);
});