comment function (#28906)

This commit is contained in:
Jeff Washington (jwash) 2022-11-21 11:56:07 -06:00 committed by GitHub
parent afc3fee937
commit b29dea7a56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -759,6 +759,10 @@ impl AccountsHasher {
.collect::<Vec<_>>()
}
/// returns:
/// Vec, with one entry per bin
/// for each entry, Vec<Hash> in pubkey order
/// If return Vec<Vec<Hash>> was flattened, it would be all hashes, in pubkey order.
fn de_dup_and_eliminate_zeros<'a>(
&self,
sorted_data_by_pubkey: &'a [SortedDataByPubkey<'a>],