Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
preallocate less
Browse files Browse the repository at this point in the history
  • Loading branch information
dvush committed Oct 4, 2024
1 parent 51ba3aa commit d0d1ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparse_mpt/diff_trie/nodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ impl DiffChildPtr {
pub struct DiffBranchNode {
pub fixed: Option<Arc<FixedBranchNode>>,
/// this must have an element for children that we have in the diff trie
pub changed_children: SmallVec<[(u8, Option<DiffChildPtr>); 16]>,
pub changed_children: SmallVec<[(u8, Option<DiffChildPtr>); 2]>,
pub aux_bits: u16,
}

Expand Down

0 comments on commit d0d1ea2

Please sign in to comment.