pub const SPARSE_TRIE_MAX_VALUES_SHRINK_CAPACITY: usize = 1_000_000;Expand description
Default value capacity for shrinking the sparse trie. This is used to limit the number of values in allocated sparse tries.
There are storage and account values, the largest of the two being account values, which are
essentially TrieAccounts.
Account value maps have a key of Nibbles and value of TrieAccount.
The size_of::<Nibbles> is 40, and size_of::<TrieAccount> is 104.
If we have 1 million entries of 144 bytes each, this conservative estimate comes out at around 144MB.