fred.rs icon indicating copy to clipboard operation
fred.rs copied to clipboard

[Feature] Add `with_capacity()` to `fred::types::Map`

Open xhanl opened this issue 1 year ago • 0 comments

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.

xhanl avatar Apr 01 '25 18:04 xhanl