iotaledger / bee

A framework for IOTA nodes, clients and applications in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Would it make sense to pre-allocate this `HashSet` with a capacity of the sum of `input_native_tokens.len()` and `output_native_tokens.len()` so this doesn't ever have to re-allocate?

thibault-martinez opened this issue · comments

Would it make sense to pre-allocate this HashSet with a capacity of the sum of input_native_tokens.len() and output_native_tokens.len() so this doesn't ever have to re-allocate?

Originally posted by @Alex6323 in #1331 (comment)