plumbing for 'other_slot' in 'update_index' (#23330)
This commit is contained in:
committed by
GitHub
parent
e2fa6a0f7a
commit
0ad4757159
@ -26,6 +26,7 @@ fn bench_accounts_index(bencher: &mut Bencher) {
|
||||
for f in 0..NUM_FORKS {
|
||||
for pubkey in pubkeys.iter().take(NUM_PUBKEYS) {
|
||||
index.upsert(
|
||||
f,
|
||||
f,
|
||||
pubkey,
|
||||
&AccountSharedData::default(),
|
||||
@ -43,6 +44,7 @@ fn bench_accounts_index(bencher: &mut Bencher) {
|
||||
for _p in 0..NUM_PUBKEYS {
|
||||
let pubkey = thread_rng().gen_range(0, NUM_PUBKEYS);
|
||||
index.upsert(
|
||||
fork,
|
||||
fork,
|
||||
&pubkeys[pubkey],
|
||||
&AccountSharedData::default(),
|
||||
|
Reference in New Issue
Block a user