plumb more accounts_index bins (#19123)

This commit is contained in:
Jeff Washington (jwash)
2021-08-10 05:45:46 -05:00
committed by GitHub
parent ef72a02da7
commit 47e0d9aa95
11 changed files with 46 additions and 8 deletions

View File

@@ -33,7 +33,8 @@ use thiserror::Error;
pub const ITER_BATCH_SIZE: usize = 1000;
pub const BINS_DEFAULT: usize = 16;
const BINS_FOR_TESTING: usize = BINS_DEFAULT;
pub const BINS_FOR_TESTING: usize = BINS_DEFAULT;
pub const BINS_FOR_BENCHMARKS: usize = BINS_DEFAULT;
pub type ScanResult<T> = Result<T, ScanError>;
pub type SlotList<T> = Vec<(Slot, T)>;
pub type SlotSlice<'s, T> = &'s [(Slot, T)];