You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some types like StoredNibblesSubKey have a maximum fixed size, which can benefit from using ArrayVec<u8, N> to avoid using heap memory. However, BufMut must be implemented for it, which requires a wrapper struct like ArrayVecCompat<T, const N: usize> which implements BufMut like for vec.
The text was updated successfully, but these errors were encountered:
DaniPopes
added
C-perf
A change motivated by improving speed, memory usage or disk footprint
S-blocked
This cannot more forward until something else changes
labels
Sep 30, 2024
Describe the feature
Some types like
StoredNibblesSubKey
have a maximum fixed size, which can benefit from usingArrayVec<u8, N>
to avoid using heap memory. However,BufMut
must be implemented for it, which requires a wrapper struct likeArrayVecCompat<T, const N: usize>
which implementsBufMut
like for vec.Blocked on #11351 since we may use our own trait
Additional context
No response
The text was updated successfully, but these errors were encountered: