Function scrypto::prelude::radix_engine_common::prelude::index_set::with_capacity
pub fn with_capacity<K>(n: usize) -> IndexSet<K>
Expand description
This is safe for std and no-std use cases (unlike IndexSet::with_capacity
which disappears when std is not in the toolchain - see
this article for deep technical reasons)