fred.rs
fred.rs copied to clipboard
[Feature] Add `with_capacity()` to `fred::types::Map`
Describe the solution you'd like
I would like to request the addition of a with_capacity() wrapper to the fred::types::Map type.
Additional context This is a common optimization method for Vec / HashMap ... For example, when I dynamically construct a fred::types::Map from a struct fields, I can estimate the capacity of the map.